|
|
@ -102,6 +102,13 @@ $('.item-link[data-setting=mapsource] select').on("change", function () {
|
|
|
|
reloadMap();
|
|
|
|
reloadMap();
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$('.item-content[data-setting=mapscale] .toggle input').on("change", function () {
|
|
|
|
|
|
|
|
var checked = $(this).prop('checked');
|
|
|
|
|
|
|
|
setStorage("mapscale", checked ? "true" : "false");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
reloadMap();
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
$('.item-content[data-setting=maptype] .toggle input').on("change", function () {
|
|
|
|
$('.item-content[data-setting=maptype] .toggle input').on("change", function () {
|
|
|
|
var checked = $(this).prop('checked');
|
|
|
|
var checked = $(this).prop('checked');
|
|
|
|
setStorage("maptype", checked ? "leaflet" : "mapbox");
|
|
|
|
setStorage("maptype", checked ? "leaflet" : "mapbox");
|
|
|
|