mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Add an example showing disableClusteringAtZoom
This commit is contained in:
@@ -46,7 +46,7 @@ var markers = new L.MarkerClusterGroup({ options: {
|
||||
Check out the [custom example](http://danzel.github.com/Leaflet.markercluster/example/marker-clustering-custom.html) for an example of this.
|
||||
|
||||
### Other Options
|
||||
disableClusteringAtZoom: If set, at this zoom level and below markers will not be clustered. This defaults to disabled
|
||||
disableClusteringAtZoom: If set, at this zoom level and below markers will not be clustered. This defaults to disabled. [See Example](http://danzel.github.com/Leaflet.markercluster/example/marker-clustering-realworld-maxzoom.388.html)
|
||||
|
||||
|
||||
### Events
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
<body>
|
||||
|
||||
<div id="map"></div>
|
||||
<span>Mouse over a cluster to see the bounds of its children and click a cluster to zoom to those bounds</span>
|
||||
<span>Markers will show on the bottom 2 zoom levels even though the markers would normally cluster.</span>
|
||||
<script type="text/javascript">
|
||||
|
||||
var cloudmadeUrl = 'http://{s}.tile.cloudmade.com/BC9A493B41014CAABB98F0471D759707/997/256/{z}/{x}/{y}.png',
|
||||
|
||||
Reference in New Issue
Block a user