On 18 Aug 2024, at 17:23, John-David Deubl <struk...@gmail.com> wrote:
Hello,I am currently developing a web app to make it easier to report damage in public spaces to authorities: https://fixit.velokurierbiel.ch/ I use Leaflet and a geoAdmin layer for this, so far I have used a RasterImageLayer -> https://github.com/strukturart/fixit/blob/9a160fa101262f5853f6c77aaff6088f4dbac493/application/index.js#L48but this is limited to zoom depth 18, which is not sufficient, so I would like to try using vectorLayer. There is a plugin for Leaflet: https://gitlab.com/jkuebart/Leaflet.VectorTileLayer/However, I only get blue lines and the zoom depth is even more limited. I use the following URLslet options = {
style:
"https://vectortiles.geo.admin.ch/styles/ch.swisstopo.leichte-basiskarte.vt/style.json",
};
const vectorLayer = vectorTileLayer(
"https://vectortiles.geo.admin.ch/tiles/ch.swisstopo.leichte-basiskarte.vt/v2.0.0/{z}/{x}/{y}.pbf",
options
);are these correct?greetings john--
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 on the web visit https://groups.google.com/d/msgid/geoadmin-api/b4ee13b8-98a0-4861-878d-15872041884fn%40googlegroups.com.