link a menu with a markerscluster google map api

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
eltonpiko
Forum Commoner
Posts: 31
Joined: Wed Apr 01, 2009 2:19 pm

link a menu with a markerscluster google map api

Post by eltonpiko »

hi im working on a project to modified a site which has menu linked to a Google map which shows different cluster on the map according to the menu. now iv never use Google api before.iv try tracking down how i all work and read a few articles about clustering.but found non of how to link it with a menu .for if i have to add new menu i want to know how to add it.

anybody with experience with Google map api please help.
eltonpiko
Forum Commoner
Posts: 31
Joined: Wed Apr 01, 2009 2:19 pm

Re: link a menu with a markerscluster google map api

Post by eltonpiko »

iv figure out that the code for the menu linking to the clusert mark on the google map is

Code: Select all

function createMarker(marker, title) {
    GEvent.addListener(marker, "click", function() {
        marker.openInfoWindowHtml(title);
    });
}
but my point is where is it fetching its data ?
Post Reply