@override
Widget build(BuildContext context) {
return SfMaps(
layers: [
MapTileLayer(
urlTemplate: 'https://tile.openstreetmap.org/{z}/{x}/{y}.png',
initialFocalLatLng: MapLatLng(-23.698042, 133.880753),
initialZoomLevel: 3
),
],
);
}
--
You received this message because you are subscribed to the Google Groups "GeoAdmin 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/a0a1549e-c3c4-4cde-9105-a876db2174fcn%40googlegroups.com.
https://wmts.geo.admin.ch/1.0.0/ch.swisstopo.pixelkarte-farbe/default/current/3857/{z}/{x}/{y}.jpeg
Dear Marc
Many thanks for your help.
We found the information we needed with the help of the link you provided me. We used the information from https://wmts.geo.admin.ch/1.0.0/WMTSCapabilities.xml
however we get a server error.
Eg we took:
And translate it to the format we need which is:
https://wmts.geo.admin.ch/1.0.0/ch.astra.mountainbikeland/default/{Time}/21781/{z}/{x}/{y}.png
Unfortunately this returns an server error 400 (not found server) However we found the below link at another location (it was an example of a simple code as described in another post) and this one works.
https://wmts.geo.admin.ch/1.0.0/ch.swisstopo.pixelkarte-farbe/default/current/3857/{z}/{x}/{y}.jpeg
Do you maybe have an idea who could provide us the right location for the data above in that format? We are looking for Mountaibikeland schweiz, Veloland Schweiz and öV Haltestellen
Many thanks.
Best
Marianne