Custom maps swedish topo map

siktagurra5 years ago

Hi
trying to get the swedish topo map to work in custom maps.

I can choose between key based URL:
https://api.lantmateriet.se/open/topowebb-ccby/v1/wmts/open/topowebb-ccby/v1/wmts/token/##MYKEY""/?request=getcapabilities&service=wmts

or key in http header:
https://api.lantmateriet.se/open/topowebb-ccby/v1/wmts/open/topowebb-ccby/v1/wmts

Http header: Authorization: Bearer ##MYKEY##

Is this supported i traccar ?

Br. Siktagurra

Anton Tananaev5 years ago

You might need to change the code, but it should be possible to use WMTS map layer:

https://openlayers.org/en/latest/examples/wmts.html

siktagurra5 years ago

okey, do you mean as an layer over example OSM ?

Anton Tananaev5 years ago

No. It has nothing to do with OSM.