]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/imagery/templates/default/imagery.js.erb
Merge remote-tracking branch 'tigerfell/pr257'
[chef.git] / cookbooks / imagery / templates / default / imagery.js.erb
index bee7747abe4d3190a3ca033084cec4251c3cfc1b..e29d8634262b48d386ffc9f7507eede900d74f0f 100644 (file)
@@ -36,5 +36,9 @@ function createMap(divName) {
   // Add the permalink control
   map.addControl(new L.Control.Permalink());
 
+  var lc = L.control.locate({
+    position: 'topright'
+  }).addTo(map);
+
   return map;
 }