Missing bridges on BaseMap

29 views
Skip to first unread message

Heinrich Baur

unread,
Jul 10, 2025, 11:19:54 AMJul 10
to GeoAdminCh API
With OpenLayers and the ol-maplibre-layer  bridge I can display BaseMap vector tiles in my App “GPS Schweiz”. But bridges are missing on the display as you can see on this screenshot:
GPS_Schweiz.png
In contrast, the test version of your web-mapviewer is showing bridges correctly:
web-mapviewer.png
Digging into your code I did not notice what makes the difference. What am I missing, is it a <style> in the HTML header?

Pascal Barth

unread,
Jul 10, 2025, 12:19:31 PMJul 10
to geoadm...@googlegroups.com
Hi Heinrich,

Are you using OLMS (openlayers-mapbox-style) by any chance?

It looks like it's something missing in this lib in regards to our style.
If you load the location you hint at with MapLibre, you get the correct rendering
image.png

FYI, we will be shipping VectorTiles with the help of MapLibre, when the time is right (should be during this year).
We considered using OLMS, but ended up deciding not to use it because it is in essence a "one-man" lib, that always tries to catch up to latest changes from MapLibre/Mapbox.
And as our internal cartography department is using MapLibre to build our style JSON, it didn't make much sense to have any other framework at the wheel when rendering the product.

Cheers,
Pascal

--
You received this message because you are subscribed to the Google Groups "GeoAdminCh API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to geoadmin-api...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/geoadmin-api/654b5605-d319-4316-a2e9-8df9854e7aa1n%40googlegroups.com.

Heinrich Baur

unread,
Jul 20, 2025, 4:22:45 PMJul 20
to GeoAdminCh API
Hi Pascal
Thank you very much. Yes, migration from OLMS to MapLibre is the answer.
Cheers, Heiri

Reply all
Reply to author
Forward
0 new messages