Implement long URL option, toggling, and labeling for share

This commit is contained in:
Tom MacWright 2013-06-13 12:04:54 -04:00 committed by John Firebaugh
parent 6f102f2726
commit 9172695f7f
5 changed files with 45 additions and 5 deletions

View file

@ -89,7 +89,7 @@ L.OSM.layers = function(options) {
map.whenReady(function() {
var miniMap = L.map(div[0], {attributionControl: false, zoomControl: false})
.addLayer(new layer.constructor);
.addLayer(new layer.constructor());
miniMap.dragging.disable();
miniMap.touchZoom.disable();