Page 1 of 1

link a menu with a markerscluster google map api

Posted: Sat Jan 29, 2011 3:44 am
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.

Re: link a menu with a markerscluster google map api

Posted: Sun Jan 30, 2011 4:17 am
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 ?