Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
FUSS
octomon
Commits
16a8b43a
Unverified
Commit
16a8b43a
authored
Feb 01, 2019
by
Marco Marinello
Browse files
Try to fix map strange zoom
parent
a9226a50
Changes
1
Hide whitespace changes
Inline
Side-by-side
octomon/templates/locationmap.html
View file @
16a8b43a
...
...
@@ -28,7 +28,7 @@
iconAnchor
:
[
12
,
41
]});
var
redicon
=
new
GeoIcon
({
iconUrl
:
'
/static/js/images/marker-red.png
'
,
iconAnchor
:
[
12
,
41
]});
map
=
L
.
map
(
'
map
'
,
{
"
center
"
:
L
.
latLng
(
40
,
12
)}
);
map
=
L
.
map
(
'
map
'
).
setView
([
46.49
,
11.34
],
10
);
var
tiles
=
L
.
tileLayer
(
'
//{s}.tile.openstreetmap.org/{z}/{x}/{y}.png
'
,
{
maxZoom
:
18
,
minZoom
:
2
,
...
...
Write
Preview
Markdown
is supported
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