Skip to content
This repository was archived by the owner on Sep 30, 2020. It is now read-only.

Commit 638b310

Browse files
committed
fix(markercluster): drop support
1 parent 59206fc commit 638b310

File tree

5 files changed

+2
-26
lines changed

5 files changed

+2
-26
lines changed

dist/ui-leaflet-layers.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
HeatLayerPlugin: basicFunction(L.heatLayer),
3535
LeafletProviderPlugin: basicFunction(L.TileLayer.Provider),
3636
MapboxGL: basicFunction(L.mapboxGL),
37-
MarkerClusterPlugin: basicFunction(L.MarkerClusterGroup),
3837
UTFGridPlugin: basicFunction(L.UtfGrid),
3938
WebGLHeatMapLayerPlugin: basicFunction(L.TileLayer.WebGLHeatMap),
4039
WFSLayerPlugin: basicFunction(L.GeoJSON.WFS),
@@ -326,17 +325,6 @@ angular.module('ui-leaflet').config(function ($provide) {
326325
}
327326
},
328327

329-
markercluster: {
330-
mustHaveUrl: false,
331-
createLayer: function createLayer(params) {
332-
if (!leafletHelpers.MarkerClusterPlugin.isLoaded()) {
333-
$log.warn(errorHeader + ' The markercluster plugin is not loaded.');
334-
return;
335-
}
336-
return new L.MarkerClusterGroup(params.options);
337-
}
338-
},
339-
340328
utfGrid: {
341329
mustHaveUrl: true,
342330
createLayer: utfGridCreateLayer

dist/ui-leaflet-layers.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/ui-leaflet-layers.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/services/leafletHelpers.es6

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ angular.module('ui-leaflet')
2424
HeatLayerPlugin: basicFunction(L.heatLayer),
2525
LeafletProviderPlugin: basicFunction(L.TileLayer.Provider),
2626
MapboxGL: basicFunction(L.mapboxGL),
27-
MarkerClusterPlugin: basicFunction(L.MarkerClusterGroup),
2827
UTFGridPlugin: basicFunction(L.UtfGrid),
2928
WebGLHeatMapLayerPlugin: basicFunction(L.TileLayer.WebGLHeatMap),
3029
WFSLayerPlugin: basicFunction(L.GeoJSON.WFS),

src/services/leafletLayerHelpers.es6

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -246,17 +246,6 @@ angular.module('ui-leaflet')
246246
}
247247
},
248248

249-
markercluster: {
250-
mustHaveUrl: false,
251-
createLayer: function(params) {
252-
if (!leafletHelpers.MarkerClusterPlugin.isLoaded()) {
253-
$log.warn(errorHeader + ' The markercluster plugin is not loaded.');
254-
return;
255-
}
256-
return new L.MarkerClusterGroup(params.options);
257-
}
258-
},
259-
260249
utfGrid: {
261250
mustHaveUrl: true,
262251
createLayer: utfGridCreateLayer

0 commit comments

Comments
 (0)