add elevation info
This commit is contained in:
parent
1bfeac2e01
commit
904f3794a9
1 changed files with 2 additions and 1 deletions
|
@ -25,6 +25,7 @@
|
||||||
#layerList div div {width:15px;height:15px;display:inline-block;}
|
#layerList div div {width:15px;height:15px;display:inline-block;}
|
||||||
.maplibre-ctrl-elevation { padding-left: 5px; padding-right: 5px; }
|
.maplibre-ctrl-elevation { padding-left: 5px; padding-right: 5px; }
|
||||||
.maplibre-ctrl-contour-active button { color: #33b5e5; font-weight: bold; }
|
.maplibre-ctrl-contour-active button { color: #33b5e5; font-weight: bold; }
|
||||||
|
.maplibre-ctrl-elevation { padding-left: 5px; padding-right: 5px; }
|
||||||
</style>
|
</style>
|
||||||
{{/use_maplibre}}
|
{{/use_maplibre}}
|
||||||
{{^use_maplibre}}
|
{{^use_maplibre}}
|
||||||
|
@ -178,7 +179,7 @@
|
||||||
|
|
||||||
map.addControl(
|
map.addControl(
|
||||||
new ElevationInfoControl({
|
new ElevationInfoControl({
|
||||||
url: baseUrl + "/data/{{id}}/elvation/{z}/{x}/{y}"
|
url: baseUrl + "/data/{{id}}/elevation/{z}/{x}/{y}"
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
{{/is_terrain}}
|
{{/is_terrain}}
|
||||||
|
|
Loading…
Reference in a new issue