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.
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)
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.