Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Alfakhori
Gengenbach
Commits
136a3d4e
Commit
136a3d4e
authored
Sep 21, 2026
by
Alfakhori
Browse files
center to prposed location
parent
01039db6
Pipeline
#12456
passed with stage
in 24 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
public/ar_overviewmap.js
View file @
136a3d4e
...
@@ -29,7 +29,7 @@ function init_map() {
...
@@ -29,7 +29,7 @@ function init_map() {
var
OpenStreetMap_DE
=
L
.
tileLayer
(
var
OpenStreetMap_DE
=
L
.
tileLayer
(
'
https://{s}.tile.openstreetmap.de/tiles/osmde/{z}/{x}/{y}.png
'
,
'
https://{s}.tile.openstreetmap.de/tiles/osmde/{z}/{x}/{y}.png
'
,
{
{
maxZoom
:
30
,
//
maxZoom: 30,
//minZoom: 15,
//minZoom: 15,
attribution
:
'
© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors
'
attribution
:
'
© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors
'
}
}
...
@@ -58,11 +58,17 @@ function init_map() {
...
@@ -58,11 +58,17 @@ function init_map() {
// Initial map position
// Initial map position
// ====================================================
// ====================================================
mymap
.
setView
(
//mymap.setView(
[
geoLocation
.
latitude
,
geoLocation
.
longitude
],
// [geoLocation.latitude, geoLocation.longitude],
20
// 20
);
//);
const
planBounds
=
[
[
48.405858385
,
7.997080070
],
// Southwest
[
48.414966828
,
8.010410216
]
// Northeast
];
mymap
.
fitBounds
(
planBounds
);
// ====================================================
// ====================================================
// User position marker
// User position marker
...
...
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