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.
2 parents 0695e78 + 60d9dde commit 1cfbdf4Copy full SHA for 1cfbdf4
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