Topic: Is there a way to load low level map tiles to replace the high?

Hello!
I'd like to use the Online Maps offline through loading the downloaded map tiles. In fact, I just download low level map tiles of the world map and the high of some local area.
When I zoomd the map or move it to some degree, the editor would throw an error saying "You are trying to load data from a www stream which had the following error when downloading." and show grey blank tiles in corresponding place. I could see the reason for the mistake that there was no corresponding map tiles.
But I hope to avoid this situation. Is there a way to load low level maps tiles to replace the high when there was no corresponding  downloaded map tiles.
Best Wishes!

Re: Is there a way to load low level map tiles to replace the high?

Hello.

You need to check for loading errors, depending on how the texture loads:
http://infinity-code.com/doxygen/online … cc7a80af21
https://docs.unity3d.com/ScriptReference/WWW-error.html
https://docs.unity3d.com/ScriptReferenc … error.html

Kind Regards,
Infinity Code Team.

Do not know the best way to thank the developer? Rate the asset in Asset Store!

Re: Is there a way to load low level map tiles to replace the high?

Sorry! I guess I haven't express my problem clearly. The key point of the problem is not about the error. I have known where the error comes from.

I'd like to use the Online Maps offline through loading the downloaded map tiles. In fact, I just download low level map tiles of the world map and the high of some local area. When I zoomd the map or move it to some degree, the Game window showed grey blank tiles in corresponding place.

But I hope to avoid this situation, and use the downloaded low level map tiles  to replace the high not downloaded.

Is there a way for Online Maps to achieve it?

Post's attachments

Attachment icon 1569718508(1).png 165.25 kb, 3 downloads since 2019-09-29 

Re: Is there a way to load low level map tiles to replace the high?

This happens automatically for the previous 5 zoom levels.
In the current version, this is hardcoded value.
If you want to change this, you need to modify OnlineMapsBuffer.UpdateBackBuffer.

Kind Regards,
Infinity Code Team.

Do not know the best way to thank the developer? Rate the asset in Asset Store!