Uncaught SecurityError now fixed in Leaflet.RestoreView
This commit is contained in:
parent
d9862d6cd2
commit
b8566dbd12
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ BR.Map = {
|
||||||
map = new L.Map('map', {
|
map = new L.Map('map', {
|
||||||
worldCopyJump: true
|
worldCopyJump: true
|
||||||
});
|
});
|
||||||
if (!BR.Util.localStorageAvailable() || !map.restoreView()) {
|
if (!map.restoreView()) {
|
||||||
map.setView([50.99, 9.86], 6);
|
map.setView([50.99, 9.86], 6);
|
||||||
}
|
}
|
||||||
map.attributionControl.addAttribution(
|
map.attributionControl.addAttribution(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue