mirror of
https://github.com/Leaflet/Leaflet.markercluster.git
synced 2025-07-30 12:02:18 +00:00
Default examples should work in IE
This commit is contained in:
@ -56,8 +56,6 @@
|
||||
|
||||
var polygon;
|
||||
markers.on('clustermouseover', function (a) {
|
||||
console.log('cluster ' + a.layer.getAllChildMarkers().length);
|
||||
|
||||
if (polygon) {
|
||||
map.removeLayer(polygon);
|
||||
}
|
||||
|
@ -12,6 +12,7 @@
|
||||
|
||||
<link rel="stylesheet" href="../src/MarkerCluster.css" />
|
||||
<link rel="stylesheet" href="../src/MarkerCluster.Default.css" />
|
||||
<script src="../src/MarkerCluster.Default.js"></script>
|
||||
<script src="../src/MarkerClusterGroup.js"></script>
|
||||
<script src="../src/MarkerCluster.js"></script>
|
||||
<script src="../src/MarkerCluster.Spiderfier.js"></script>
|
||||
@ -53,7 +54,6 @@
|
||||
}
|
||||
|
||||
markers.on('clusterclick', function (a) {
|
||||
console.log('cluster ' + a.layer.getAllChildMarkers().length);
|
||||
a.layer.spiderfy();
|
||||
});
|
||||
|
||||
|
@ -62,10 +62,10 @@
|
||||
}
|
||||
|
||||
markers.on('clusterclick', function (a) {
|
||||
console.log('cluster ' + a.layer.getAllChildMarkers().length);
|
||||
alert('cluster ' + a.layer.getAllChildMarkers().length);
|
||||
});
|
||||
markers.on('click', function (a) {
|
||||
console.log('marker ' + a.layer);
|
||||
alert('marker ' + a.layer);
|
||||
});
|
||||
|
||||
populate();
|
||||
|
Reference in New Issue
Block a user