Skip to content

Commit f26a771

Browse files
committed
Merge pull request tombatossals#411 from Natsu-/shadow_icon_issue
Updating icon init to obtain custom icon without shadow
2 parents 6057085 + 2548d1e commit f26a771

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/leafletMarkersHelpers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ angular.module("leaflet-directive").factory('leafletMarkersHelpers', function ($
4848
iconData.shadowUrl = base64shadow;
4949
}
5050

51-
return new L.Icon.Default(iconData);
51+
return new L.Icon(iconData);
5252
};
5353

5454
var _deleteMarker = function(marker, map, layers) {

0 commit comments

Comments
 (0)