Browse Source

Added explicit path to leaflet markers

Rashid Khan 12 years ago
parent
commit
d071f3cb4d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/app/panels/bettermap/module.js

+ 2 - 2
src/app/panels/bettermap/module.js

@@ -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,
@@ -228,4 +228,4 @@ function (angular, app, _, L, localRequire) {
     };
     };
   });
   });
 
 
-});
+});