Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

366
Views
MGLMapViewDelegate Not working in the V10.2.0 SwiftUI

I have implemented the MapBox v6.3.0. Currently i'm updating the MapBox to latest version with V10.2.0. In the latest version MapBox delegate update with events. i have added all events according to previous MGLMapViewDelegate delegate methods. But MapBox events not working properly as MGLMapViewDelegate delegate.

v6.3.0 Delegates:-

func mapView(_ mapView: MGLMapView, didSelect annotationView: MGLAnnotationView) 
func mapView(_ mapView: MGLMapView, didUpdate userLocation: MGLUserLocation?) 
func mapView(_ mapView: MGLMapView, didFailToLocateUserWithError error: Error) 
func mapView(_ mapView: MGLMapView, annotationCanShowCallout annotation: MGLAnnotation)
func mapView(_ mapView: MGLMapView, didFinishLoading style: MGLStyle) 

v10.2.0 Events:-

mapView.mapboxMap.onEvery(.styleDataLoaded)
mapView.mapboxMap.onNext(.mapLoaded)
mapView.mapboxMap.onNext(.mapLoadingError)

Question: Can someone please explain to me about the delegate i'm doing lot of search about it on the MapBox official website, but not getting information properly.

Any help would be greatly appreciated.

Thanks in advance.

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!