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.
var marker = new google.maps.Circle({
strokeColor: strokeColor,
strokeOpacity: 0.8,
strokeWeight: 2,
fillColor: fillColor,
fillOpacity: 0.35,
center: center,
radius: radius
});
but when I try to cluster,
var markerCluster = new MarkerClusterer(map, marker, {imagePath: 'https://developers.google.com/maps/documentation/javascript/examples/markerclusterer/m'});
It gives me error: markerclusterer.js:653 Uncaught TypeError: marker.getPosition is not a function
I checked the proto and sure it does not have the getPosition() unlike in case when I create a regular marker like,
var marker = new google.maps.Marker({
position: location
});
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
I'm trying to do clustering of circle markers
but when I try to cluster,
var markerCluster = new MarkerClusterer(map, marker, {imagePath: 'https://developers.google.com/maps/documentation/javascript/examples/markerclusterer/m'});
It gives me error:
markerclusterer.js:653 Uncaught TypeError: marker.getPosition is not a function
I checked the proto and sure it does not have the getPosition() unlike in case when I create a regular marker like,
The text was updated successfully, but these errors were encountered: