Always update perma and shortlinks, keeping layers
This commit is contained in:
parent
759f51a57c
commit
4259ca6572
1 changed files with 1 additions and 2 deletions
|
@ -160,8 +160,6 @@ end
|
|||
|
||||
setMapCenter(centre, zoom);
|
||||
<% end %>
|
||||
|
||||
updateLocation();
|
||||
<% end %>
|
||||
|
||||
<% if !layers.nil? and !layers.empty? %>
|
||||
|
@ -185,6 +183,7 @@ end
|
|||
map.events.register("moveend", map, updateLocation);
|
||||
map.events.register("changelayer", map, updateLocation);
|
||||
|
||||
updateLocation();
|
||||
handleResize();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue