mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Added explicit path to leaflet markers
This commit is contained in:
parent
dcafb85706
commit
d071f3cb4d
@ -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) {
|
||||
};
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user