Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ICT4iCity
data_workflow
Commits
922dc492
Commit
922dc492
authored
Apr 11, 2022
by
JOE XMG
Browse files
update basemap
parent
3a1fdf35
Pipeline
#6176
passed with stage
in 6 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
public/bbox-finder.html
View file @
922dc492
...
...
@@ -73,9 +73,9 @@
</style>
<div
id=
"map"
style=
"width: 100%; height: 100vh;"
></div>
<div
class=
"calculation-box text-left"
>
<p
class=
"text-bold text-wrap"
>
<b>
<img
src=
"joeicon.png"
alt=
""
width=
"20px"
>
BBOX Finder
<i
class=
"bi bi-bounding-box"
></i></b>
<p
class=
"text-bold text-wrap"
>
<b>
<img
src=
"joeicon.png"
alt=
""
width=
"20px"
>
BBOX Finder
<i
class=
"bi bi-bounding-box"
></i></b>
<br>
<span
id=
"calculated_area"
>
[Hint: Draw a bbox using tool on the right-bottom menu.]
</span>
</p>
...
...
@@ -90,6 +90,10 @@
maxZoom
:
20
,
attribution
:
'
© <a href="https://stadiamaps.com/">Stadia Maps</a>, © <a href="https://openmaptiles.org/">OpenMapTiles</a> © <a href="http://openstreetmap.org">OpenStreetMap</a> contributors
'
});
var
Esri_WorldTopoMap
=
L
.
tileLayer
(
'
https://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/{z}/{y}/{x}
'
,
{
attribution
:
'
Tiles © Esri — Esri, DeLorme, NAVTEQ, TomTom, Intermap, iPC, USGS, FAO, NPS, NRCAN, GeoBase, Kadaster NL, Ordnance Survey, Esri Japan, METI, Esri China (Hong Kong), and the GIS User Community
'
});
var
tmp_layer
var
osmUrl
=
'
http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png
'
,
osmAttrib
=
'
© <a href="http://openstreetmap.org/copyright">OpenStreetMap</a> contributors
'
,
...
...
@@ -98,7 +102,7 @@
attribution
:
osmAttrib
}),
map
=
new
L
.
Map
(
'
map
'
,
{
layers
:
[
Stadia_Outdoors
],
layers
:
[
Esri_WorldTopoMap
],
center
:
new
L
.
LatLng
(
48.7758
,
9.1829
),
zoom
:
15
});
...
...
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