Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sabarasaba/leafletmarkercluster
https://github.com/sabarasaba/leafletmarkercluster
Last synced: 24 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/sabarasaba/leafletmarkercluster
- Owner: sabarasaba
- Created: 2015-03-16T11:35:53.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-04-15T15:55:32.000Z (over 9 years ago)
- Last Synced: 2024-04-08T09:04:35.706Z (9 months ago)
- Language: JavaScript
- Size: 223 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Leaflet-Marker-Cluster
=====================Forked from [Leaflet.markercluster](https://github.com/Leaflet/Leaflet.markercluster).
### Extra features
* AMD/CommonJS support
* Leverage clusterClick action to users.### Usage
Create a new MarkerClusterGroup, add your markers to it, then add it to the map```javascript
var markers = new L.MarkerClusterGroup();
markers.addLayer(new L.Marker(getRandomLatLng(map)));
... Add more layers ...
map.addLayer(markers);
```