Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
civitas-digitalis
platform
Commits
642082d0
Commit
642082d0
authored
May 08, 2018
by
Elias Englmeier
Browse files
zoom fixed
parent
b26b232f
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/MapModule/bin/META-INF/resources/view.jsp
View file @
642082d0
...
...
@@ -60,6 +60,7 @@ $(document).ready(function(){
map
.
addLayer
(
loadedMarker
);
}
});
map
.
options
.
maxZoom
=
14
;
map
.
fitBounds
(
markerGroup
.
getBounds
().
pad
(
0.5
));
}
else
{
map
.
setView
([
51.312066
,
9.492901
],
12
)
...
...
modules/MapModule/src/main/resources/META-INF/resources/view.jsp
View file @
642082d0
...
...
@@ -60,6 +60,7 @@ $(document).ready(function(){
map
.
addLayer
(
loadedMarker
);
}
});
map
.
options
.
maxZoom
=
14
;
map
.
fitBounds
(
markerGroup
.
getBounds
().
pad
(
0.5
));
}
else
{
map
.
setView
([
51.312066
,
9.492901
],
12
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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