Topic: How to know when the desired map zoom is updated
Hello,
I'd like to display may map only when a specific zoom level is downloaded and the map is updated.
Is there an event for it?
Many thanks!
You are not logged in. Please login or register.
Infinity Code Forum → Online Maps Help → How to know when the desired map zoom is updated
Hello,
I'd like to display may map only when a specific zoom level is downloaded and the map is updated.
Is there an event for it?
Many thanks!
Hello.
Disable the hidden Mesh Renderer component of the map.
Subscribe to OnlineMapsTileManager.OnTileLoaded.
When calling this event, make sure that all the tiles of the desired zoom are loaded (OnlineMapsTile.tiles, OnlineMapsTile.zoom, OnlineMapsTile.status), and enable Mesh Renderer back.
Infinity Code Forum → Online Maps Help → How to know when the desired map zoom is updated
Powered by PunBB, supported by Informer Technologies, Inc.