We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0695e78 commit 60d9ddeCopy full SHA for 60d9dde
src/directives/geojson.js
@@ -66,8 +66,7 @@ angular.module('leaflet-directive')
66
_remove(leafletGeoJSON);
67
};
68
69
- var _addGeojson = function(model, maybeName) {
70
- var geojson = angular.copy(model);
+ var _addGeojson = function(geojson, maybeName) {
71
if (!(isDefined(geojson) && isDefined(geojson.data))) {
72
return;
73
}
0 commit comments