Closed AntonLie closed 12 months ago
you should change the url to this
https://tile.opentopomap.org/{z}/{x}/{y}
you can check details on wiki.openstreetmap.org/wiki/OpenTopoMap
sorry, nothing change after i change url to https://tile.opentopomap.org/{z}/{x}/{y}
sorry try this :
CustomTile(
sourceName: "opentopomap",
tileExtension: ".png",
minZoomLevel: 2,
maxZoomLevel: 17
urlsServers: [
"https://a.tile.opentopomap.org/",
"https://b.tile.opentopomap.org/",
"https://c.tile.opentopomap.org/",
],
tileSize: 256,
)
Hello @liodali , I tried but still not working
cannot use only string because libs have type
dont add /{z}/{x}/{y}.png to the url
ok done but still not working
here's my url
ok done but still not working
here's my url
that url doesnt contain z,x,y do you have any docs link that i can check to help you more
this one bro @liodali https://apidocs.geoapify.com/
https://www.geoapify.com/map-tiles
so need z,x,y right?
CustomTile(
sourceName: "geoapify",
tileExtension: ".png",
minZoomLevel: 2,
maxZoomLevel: 19,
urlsServers: [
TileURLs(
url: "https://maps.geoapify.com/v1/tile/osm-carto/",
)
],
tileSize: 256,
keyApi: MapEntry(
"apiKey",
YOURKEY,
),
)
Still not changed bro
i will do a quick fix to night sorry for being late to fix it
check version 0.70.3
still not working bro, i try to implement exist code.
its wierd you can check screenshot can you share MapController initialisation again
Sorry For Late Reply
here's my Map Controller Code :
but maybe that raster is the same as default did you try another raster type as you can see in my screenshot i used /osm-liberty/..
hmm i see,
now it's working
Thanks @liodali really appreciate it
Hello, I tried to add a custom layer but seems not working.
Code
Result
Expectation
https://tile.opentopomap.org/#map=9/50.2244/17.0178