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

Buildings removing or adding at run time

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

Unity 2017.4.17f1 Mapbox v2.0.0 I want to add buildings by dragging and dropping them to the map and remove existing buildings by selecting with the mouse is it possible? and how? Thanks

roura-12 avatar Jan 28 '19 10:01 roura-12

Hi @roura-12. Runtime editing is supported in version 2.0 of the SDK. You'll want to modifiy the vector layer with an onClick similar to the way it's done in this blog post.

jordy-isaac avatar Jan 28 '19 20:01 jordy-isaac

thank you I will try that

roura-12 avatar Jan 29 '19 10:01 roura-12