wrld3d / ios-api

iOS API for WRLD: Stunning, Interactive 3D Maps
BSD 2-Clause "Simplified" License
19 stars 7 forks source link

It should be possible to attach arbitrary UI as an 'annotation' #20

Closed tim-jenks closed 6 years ago

tim-jenks commented 6 years ago

As per new functionality on Android, it should be possible to create and position arbitrary native iOS UI on the map at an anchored location

https://docs.wrld3d.com/android/latest/docs/examples/position-view-on-map/

tim-jenks commented 6 years ago

A positioners API has now been added to iOS to match the Android API. Examples can be found here: https://wrld3d.com/ios/latest/docs/examples/position-a-view-on-the-map/ https://wrld3d.com/ios/latest/docs/examples/position-a-code-created-view-on-the-map/

Class documentation can be found here: https://wrld3d.com/ios/latest/docs/api/Classes/WRLDPositioner.html https://wrld3d.com/ios/latest/docs/api/Protocols/WRLDMapViewDelegate.html