You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to integrate this library in my project. It uses OpenRailwayMap tiles, which are 512x512 retina png tiles (e.g. https://a.tiles.openrailwaymap.org/standard/8/137/85.png). If I use the native MKTileOverlay (first example) it uses the full available resolution on a retina display, resulting in a sharp image with more details. If I use the MapCache overlay (second example), the tiles are blurry and have way less details. I assume something in the zoom height configuration on retina displays is wrong here, but I couldn't figure out what exactly.
Maybe @merlos you can take a look what could be the problem here?
If it helps, I can provide the code I used to achieve both outcomes.
Thanks!
The text was updated successfully, but these errors were encountered:
Hi, yes, I set it (see complete example below). If I do not set it, the tiles overlap each other (-> each tile gets drawn beginning at 0,0 coords, overflowing the 256x256 rect and overlapping the neighbouring tiles).
Btw, I set canReplaceMapContent = false in MKMapView+MapCache to achieve the overlay functionality.
Hi,
I tried to integrate this library in my project. It uses OpenRailwayMap tiles, which are 512x512 retina png tiles (e.g. https://a.tiles.openrailwaymap.org/standard/8/137/85.png). If I use the native MKTileOverlay (first example) it uses the full available resolution on a retina display, resulting in a sharp image with more details. If I use the MapCache overlay (second example), the tiles are blurry and have way less details. I assume something in the zoom height configuration on retina displays is wrong here, but I couldn't figure out what exactly.
Maybe @merlos you can take a look what could be the problem here?
If it helps, I can provide the code I used to achieve both outcomes.
Thanks!
The text was updated successfully, but these errors were encountered: