Company logo
  • Empleos
  • Bootcamp
  • Acerca de nosotros
  • Para profesionales
    • Inicio
    • Empleos
    • Cursos y retos
    • Preguntas
    • Profesores
    • Bootcamp
  • Para empresas
    • Inicio
    • Nuestro proceso
    • Planes
    • Pruebas
    • Nómina
    • Blog
    • Calculadora

0

206
Vistas
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.

10 months ago · Santiago Trujillo
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar empleo Planes Nuestro proceso Comercial
Legal
Términos y condiciones Política de privacidad
© 2023 PeakU Inc. All Rights Reserved.