Commit d071f3cb by Rashid Khan

Added explicit path to leaflet markers

parent dcafb857
......@@ -194,7 +194,7 @@ function (angular, app, _, L, localRequire) {
function render_panel() {
scope.require(['./leaflet/plugins'], function () {
scope.panelMeta.loading = false;
L.Icon.Default.imagePath = 'app/panels/bettermap/leaflet/images';
if(_.isUndefined(map)) {
map = L.map(attrs.id, {
scrollWheelZoom: false,
......@@ -228,4 +228,4 @@ function (angular, app, _, L, localRequire) {
};
});
});
\ No newline at end of file
});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment