]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index.js
Add share button to map
[rails.git] / app / assets / javascripts / index.js
index 9aed3c3f7ebad396a506c6219e520811159be577..ce9c8e97530545688ad89447f450f6c0322c41e0 100644 (file)
@@ -21,9 +21,12 @@ $(document).ready(function () {
 
   OSM.mapUI().addTo(map);
 
+  L.control.share().addTo(map);
+
   L.control.locate({
       position: 'topright'
   }).addTo(map);
+
   L.control.scale().addTo(map);
 
   map.attributionControl.setPrefix(permalinks);