Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
minerva
core
Commits
6ee784b5
Commit
6ee784b5
authored
Oct 26, 2016
by
Piotr Gawron
Browse files
centering on top map is working properly
parent
ba171932
Changes
1
Hide whitespace changes
Inline
Side-by-side
web/src/main/webapp/index.xhtml
View file @
6ee784b5
...
...
@@ -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
'
),
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment