Hi, Unfortunately I cannot get MarkerClusterer to work (PC browsers Firefox, IE and Chrome) so I would appreciate your help.
Open this webpage to observe the problem (no markers shown at all): http://www.zonnepanelenwijzer.be/dev/mjd-map-dichtbijvakanties/index-clustered.html I started from a working version without markerclusterer that works fine: http://www.zonnepanelenwijzer.be/dev/mjd-map-dichtbijvakanties/index-all-markers.html Next I have added the necessary code to enable MarkerClusterer with the following steps : 1. Before the loop. // MarkerClusterer: Creating an array that will store the markers var mymarkersforclustering = []; 2. Within the loop Part 1 // Adding the marker (removed the map assignment) var mymarker = new google.maps.Marker({ position : mypoint, //map : mymap, title : myname, icon : myicon.icon }); 3. Within the loop Part 2 // Adding the marker to the markers array mymarkersforclustering.push( mymarker ); 4. At the end: // Creating a MarkerClusterer object and adding the markers array to it. var mymarkerclusterer = new MarkerClusterer( mymap, mymarkersforclustering ); Notes: - Whilst debugging I noticed that the mymap and mymarkersforclustering contain the right values. - This map contains some 25 markers (for testing purposes) whilst the final map will contain some 1500 markers. Thanks for your help! -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.