Loading js/leaflet_geojson.bbox.js +1 −1 Original line number Diff line number Diff line Loading @@ -198,7 +198,7 @@ var geojsonLayer = new L.GeoJSON(myFeatures[key], Drupal.leafletBBox.geoJSONOptions); // to cluster on external data source, see https://www.drupal.org/project/leaflet_geojson/issues/3303759 if (typeof L.markerClusterGroup === 'object') { if (typeof L.markerClusterGroup === 'function') { var markerClusterGroup = L.markerClusterGroup(); markerClusterGroup.addLayer(geojsonLayer); layerGroup.addLayer(markerClusterGroup); Loading Loading
js/leaflet_geojson.bbox.js +1 −1 Original line number Diff line number Diff line Loading @@ -198,7 +198,7 @@ var geojsonLayer = new L.GeoJSON(myFeatures[key], Drupal.leafletBBox.geoJSONOptions); // to cluster on external data source, see https://www.drupal.org/project/leaflet_geojson/issues/3303759 if (typeof L.markerClusterGroup === 'object') { if (typeof L.markerClusterGroup === 'function') { var markerClusterGroup = L.markerClusterGroup(); markerClusterGroup.addLayer(geojsonLayer); layerGroup.addLayer(markerClusterGroup); Loading