-1

I'd like to replicate this behavior:

enter image description here

So, the user would be able to choose a label to retrieve its information on Mapbox.

I'm currently utilizing the iOS SDK on SwiftUI, but I'm in search of a blueprint to implement this functionality or the essential steps to achieve it.

Unfortunately, I haven't come across any tutorials or comprehensive guides addressing this specific feature. Based on my analysis, here's the approach I believe might be effective:

  1. Employing distinct layers within Mapbox Studio to enable the selectability of the label layer.

  2. Implementing a tap gesture to control a pinned annotation and devising a method to determine the nearest label to the tap location...

Please let me know if you have any questions or need further assistance.

David Zomada
  • 167
  • 1
  • 5
  • 22

0 Answers0