Skip to content

Commit 1cfbdf4

Browse files
committed
Merge branch 'kherrala-geojson-fix'
2 parents 0695e78 + 60d9dde commit 1cfbdf4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/directives/geojson.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,7 @@ angular.module('leaflet-directive')
6666
_remove(leafletGeoJSON);
6767
};
6868

69-
var _addGeojson = function(model, maybeName) {
70-
var geojson = angular.copy(model);
69+
var _addGeojson = function(geojson, maybeName) {
7170
if (!(isDefined(geojson) && isDefined(geojson.data))) {
7271
return;
7372
}

0 commit comments

Comments
 (0)