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 have a couple of use cases where I want to show the previous overzoomed level while waiting for the next level to load.
First use case is to hide the loading of the tiles (prevent the gray boxes whilst the tile is loading).
Second use case is to show an overzoomed tile when a 404 is returned for that zoom level (due to the map server not having a full tile set at that zoom).
Any tips as to how this could be implemented in your code base?
I'd be happy to do the work if you can point me in the correct direction.
The text was updated successfully, but these errors were encountered:
I gave it a shot, and I'm creating low res files and returning them if the image isn't immediately available and calling result(tempTileData, nil), but when the full res tile is ready, calling result with the full res image seems to be ignored.
Some time ago I thought about how this could be implemented, precisely to overcome the challenge that you're facing. At that time I did not know how to replace the temporary tile with the actual one, what I understood is that once you tell the tile layer this is the file it keeps it... so what I thought could be a possibility was to add a new tile layer underneath of the regular one that would hold the temporary zoomed tiles.
In addition there is one parameter that sets transparency of the regular tiles one that is set to non-transparent to prevent Apple Maps to be displayed. You have to change it to be able to see the zoomed tiles.
Hi @merlos. Thank you for the great library.
I have a couple of use cases where I want to show the previous overzoomed level while waiting for the next level to load.
First use case is to hide the loading of the tiles (prevent the gray boxes whilst the tile is loading).
Second use case is to show an overzoomed tile when a 404 is returned for that zoom level (due to the map server not having a full tile set at that zoom).
Any tips as to how this could be implemented in your code base?
I'd be happy to do the work if you can point me in the correct direction.
The text was updated successfully, but these errors were encountered: