mapbox-unity-sdk icon indicating copy to clipboard operation
mapbox-unity-sdk copied to clipboard

Enable and Disable layers at run time

Open roura-12 opened this issue 7 years ago • 2 comments

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 toggle 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:

roura-12 avatar Feb 20 '19 17:02 roura-12

Hi @roura-12 this is possible on version 2.0+. Here's a link to the api documentation

jordy-isaac avatar Feb 20 '19 18:02 jordy-isaac

Thanks I'll try that :+1:

roura-12 avatar Feb 21 '19 09:02 roura-12