Created
March 18, 2017 09:30
-
-
Save abhisuri97/599ef66297f8c21c603fd33f7407b7b2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var lv = new PruneClusterForLeaflet(160); | |
mymap.addLayer(lv); // mymap is a leaflet map | |
var os = oboe() | |
os.node('locations.*', function(location) { | |
var marker = new PruneCluster.Marker(location.latitudeE7 * SCALAR_E7, | |
location.longitudeE7 * SCALAR_E7); | |
lv.RegisterMarker(marker); | |
return oboe.drop; | |
}).done('done'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment