")
.appendTo(item);
map.whenReady(function() {
@@ -58,17 +58,17 @@ L.OSM.layers = function(options) {
miniMap.scrollWheelZoom.disable();
$ui
- .on('show', shown)
- .on('hide', hide);
+ .on("show", shown)
+ .on("hide", hide);
function shown() {
miniMap.invalidateSize();
setView({animate: false});
- map.on('moveend', moved);
+ map.on("moveend", moved);
}
function hide() {
- map.off('moveend', moved);
+ map.off("moveend", moved);
}
function moved() {
@@ -80,17 +80,17 @@ L.OSM.layers = function(options) {
}
});
- var label = $('