Skip to content
Snippets Groups Projects
Commit 6ee784b5 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

centering on top map is working properly

parent ba171932
No related branches found
No related tags found
Loading
......@@ -84,7 +84,7 @@
var configuration = new Configuration();
function processUrlGetParams() {
if (GuiConnector.getParams["submap"]==null) {
if (GuiConnector.getParams["submap"]==null || configuration.ID_MODEL==GuiConnector.getParams["submap"]) {
if (GuiConnector.getParams["x"]!=undefined && GuiConnector.getParams["y"]!=undefined){
ServerConnector.setCenterCoordinateX(GuiConnector.getParams["x"]);
ServerConnector.setCenterCoordinateY(GuiConnector.getParams["y"]);
......@@ -103,9 +103,9 @@ function updateConfig() {
}
function initMap(){
updateConfig();
processUrlGetParams();
updateConfig();
searchPanel = new SearchPanel(document.getElementById('tabView:mainForm:searchText_input'),
document.getElementById('tabView:mainForm:searchButton'),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment