Topic: Dynamic MapBox Map type at runtime in Unity
Hi Community
We use prefabs of Infinity maps with different MapIDs set in the inspector, the idea is to load a different prefab when a user changes game.
This is not working at present, which ever mapID style that loaded first persists, we tried to solve this by detecting a change and telling the Online_Maps_cache to clear the cache and reload the map, but this doesn't work either.
I looked at this guide: http://infinity-code.com/atlas/online-m … ample.html
But I am unable to make them work with our custom mapbox styles, I just get blank maps.
Any ideas?