You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 16, 2019. It is now read-only.
We don't you just add your other markers without using a cluster map?
Something like this works just fine:
functioninitialize(){varcenter=newgoogle.maps.LatLng(37.4419,-122.1419);varmap=newgoogle.maps.Map(document.getElementById('map'),{zoom: 6,center: center,mapTypeId: google.maps.MapTypeId.ROADMAP});// add cluster markersvarmarkers=[];for(vari=0;i<100;i++){vardataPhoto=data.photos[i];varlatLng=newgoogle.maps.LatLng(dataPhoto.latitude,dataPhoto.longitude);varmarker=newgoogle.maps.Marker({position: latLng});markers.push(marker);}varmarkerCluster=newMarkerClusterer(map,markers,{imagePath: '../images/m'});// add a single marker not part of the clustervarmarker=newgoogle.maps.Marker({position: newgoogle.maps.LatLng(10.579372,-84.793432),map: map,title: 'Hello World!'});}google.maps.event.addDomListener(window,'load',initialize);
Is there any way to exclude a marker from any clusters ?
The text was updated successfully, but these errors were encountered: