jperelli / vue2-leaflet-markercluster

markercluster plugin extension for vue2-leaflet package
MIT License
132 stars 55 forks source link

Accessing MarkerCluster Methods (not MarkerClusterGroup Methods) #33

Open gemlarin opened 4 years ago

gemlarin commented 4 years ago

I have figured out how to access MarkerClusterGroup methods (this.$refs.clusterRef.mapObject), but I cannot seem to figure our how to access MarkerCluster methods - specifically the getAllChildMarkers() method. I need to be able to eval all of the child markers to set the Marker Cluster Icon based on the condition of its children and cannot seem to figure out a way to do that using this vue wrapper.

dragoonzx commented 4 years ago

U need to pass it like this in options props image