Select to view content in your preferred language

VectorTileLayer does not support geoadmin.ch tiles

538
2
06-15-2023 08:22 PM
VictorBerchet
Frequent Contributor

I am trying to add a Vector layer pointing to https://vectortiles.geo.admin.ch/styles/ch.swisstopo.leichte-basiskarte_world.vt/style.json (the geo admin tiles are beautiful).

It has a few issues:

  • There are errors in the console: "Unsupported vector tile raster layer lbm_relief",
  • There is some issue with text rendering that renders style expression:

VictorBerchet_0-1686885697140.png

It would be awesome if the team has time to work on adding missing support!

Thanks

 

 

 
0 Kudos
2 Replies
nadja
by
Frequent Contributor

Hi VictorBerchet

Unfortunately, I dont know the answer to your question. I just saw your post and would like to ask you, whether you would provide me with your codesnippet as we also try to access the vector tile basemap from swisstopo. Yet we were completely unsuccesful... Thank you for your reply,

Nadja

0 Kudos
VictorBerchet
Frequent Contributor

You can check the sample code and set the URL to the one in my first message.

Hope this helps

0 Kudos