javascript - Get all Cluster Objects from Google Maps in Angular -
I'm using Google Maps's Angular Library:
Creating a "toggle cluster" feature Trying with my existing clustering code:
& lt; Google-map center = "map.center" zoom = "map.zoom" dragable = "true" events = "mapEventObject" control = "google map" & gt; & Lt; Marker Model = "Markers" Coord = "Coordinate" "doCluster =" map.cluster "cluster event =" map.clusterEvents "event =" marker document object ">
$ scope.markers = [{coordinate: {latitude: -38, longitude: 50}}] The issue is That's $ scope.markers is an array and not the actual MarkerClusterer object. Therefore, I'm unable to call the .removeMarkers () method without the object for the "toggling" effect.
Using angular , I click the marker on the map How do I get a Sikar object? I can not find any. GetAllClusters () method or some of that!
< P> The problem is, this issue is covered here: And the latest Master branch has not been pushed. To correct, use the current "Development" branch (until July 2014)
Comments
Post a Comment