var map = new L.OSM.Map("map", {
zoomControl: false,
layerControl: false,
- contextmenu: true,
- contextmenuWidth: 140
+ contextmenu: true
});
map.attributionControl.setPrefix('');
.removeClass('leaflet-control-locate leaflet-bar')
.addClass('control-locate')
.children("a")
+ .attr('href', '#')
.removeClass('leaflet-bar-part leaflet-bar-part-single')
.addClass('control-button');