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() {
|
function render_panel() {
|
||||||
scope.require(['./leaflet/plugins'], function () {
|
scope.require(['./leaflet/plugins'], function () {
|
||||||
scope.panelMeta.loading = false;
|
scope.panelMeta.loading = false;
|
||||||
|
L.Icon.Default.imagePath = 'app/panels/bettermap/leaflet/images';
|
||||||
if(_.isUndefined(map)) {
|
if(_.isUndefined(map)) {
|
||||||
map = L.map(attrs.id, {
|
map = L.map(attrs.id, {
|
||||||
scrollWheelZoom: false,
|
scrollWheelZoom: false,
|
||||||
|
Loading…
Reference in New Issue
Block a user