p-lr / MapCompose

A fast, memory efficient Jetpack Compose library to display tiled maps, with support for markers, paths, and rotation.
Apache License 2.0
224 stars 20 forks source link

MapTiler Raster Tile Amount #117

Closed PicoPocoo closed 5 months ago

PicoPocoo commented 5 months ago

Hey Pierre, thanks so much for your amazing work :)

I've been trying to get the map to work with MapTiler Raster Tiles and none of my changes seem to do the trick, I am using the default demo Project with the MapTiler URL;

val url = URL("https://api.maptiler.com/maps/basic-v2/256/$zoomLvl/$col/$row.png?key=qZb8Y1pCBG6YO3hIQZt8")

My Map seems to have too many Tiles: photo_6001414011394048399_y photo_6001414011394048398_y photo_6001414011394048397_y

Do you know what causes this Issue? In my old Flutter Project switching between OSM and MapTiler, I had to add the @2x modifier. https://docs.maptiler.com/cloud/api/maps/ -> Raster XYZ Tiles.

If this works I can enhance the Readme.md to include a description for the MapTiler Setup.

Thanks

PicoPocoo commented 5 months ago

Sorry, posted this in the wrong Repo