]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/map.js.erb
Fix L.Icon.Default.imagePath in production
[rails.git] / app / assets / javascripts / map.js.erb
index e0570336b6309e83939c1e9010fb02326a0dab11..520e9296e220183ec96604ba750c9d2018bfb3e3 100644 (file)
@@ -42,6 +42,8 @@ L.Bounds.include({
   }
 });
 
+L.Icon.Default.imagePath = <%= "#{asset_prefix}/images".to_json %>;
+
 var map;
 
 var layers = [