]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/imagery/templates/default/imagery.js.erb
imagery: add locatejs image assets
[chef.git] / cookbooks / imagery / templates / default / imagery.js.erb
index e29d8634262b48d386ffc9f7507eede900d74f0f..713aa03bd5afd64717775c56f4cb7251ddc03cb6 100644 (file)
@@ -37,7 +37,9 @@ function createMap(divName) {
   map.addControl(new L.Control.Permalink());
 
   var lc = L.control.locate({
-    position: 'topright'
+    position: 'topright',
+    icon: '/location-arrow-solid.svg',
+    iconLoading: '/spinner-solid.svg'
   }).addTo(map);
 
   return map;