var permalinks = $("#permalink").detach().html();
var marker;
var params = OSM.mapParams();
- var map = createMap("map", {layerControl: false});
+ var map = createMap("map", {
+ zoomControl: false,
+ layerControl: false
+ }, {
+ locateControl: true
+ });
+
+ L.control.zoom({position: 'topright'})
+ .addTo(map);
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);