mapbox-unity-sdk
mapbox-unity-sdk copied to clipboard
Enable and Disable layers at run time
Hi guys,
I want to let the user enable the layers that hi needed. Is it possible to enable and disable layers at run time using Vector Layer Visualizer scriptable objects and a UI?
the layers are appeared like this
and hi choose which layers to appear as needed.
Note: If this is a bug or support ticket, please provide the following information:
- Unity version: Unity 2017.4.17f1
- Scripting Runtime Version: Runtime
- Scripting Backend: C#
- Api Compatibility Level:
- Mapbox SDK version: v 2.0.0
- The platform you're building to: Unity 2017.4.17f1 for PC
- A description of what you're trying to do:
- Steps to recreate the bug if appropriate:
- Links to your logs are also helpful:
Hi @roura-12 this is possible on version 2.0+. Here's a link to the api documentation
Thanks I'll try that :+1: