1 (edited by Quidam 2018-01-27 20:59:45)

Topic: Map Initialization

I'd like the map to be invisible until the location service has been initialized and I can set the map to the current location. If I inactivate its gameobject or it or its parent's, though, location service won't initialize, nor can I reference anything on the map. Is there a way to tell the tileset control to not immediately display what the default location is, and to wait until it's been set?

Thanks!

Re: Map Initialization

Hello.

There are many ways to do this, for example:
1. Disable Mesh Renderer of the map.
2. Simply move the map outside of the camera view, for example to the position (1000, 1000, 1000), and return it back when GPS is initialized.
3. Use the layer for the map, turn it off in Camera / Culling Mask, and turn it on when GPS is initialized.

Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.

Re: Map Initialization

Thanks. I'm surprised I didn't think of those.