From 3d88bb3f56c6ad6e5252178faf389992301d6a95 Mon Sep 17 00:00:00 2001 From: Andrea Valenzano Date: Tue, 27 Oct 2020 10:27:57 +0100 Subject: [PATCH] fix ios onSymbolTapped --- ios/Classes/MapboxMapController.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/ios/Classes/MapboxMapController.swift b/ios/Classes/MapboxMapController.swift index e15b03942..78db4227a 100644 --- a/ios/Classes/MapboxMapController.swift +++ b/ios/Classes/MapboxMapController.swift @@ -588,6 +588,7 @@ class MapboxMapController: NSObject, FlutterPlatformView, MGLMapViewDelegate, Ma * MGLAnnotationControllerDelegate */ func annotationController(_ annotationController: MGLAnnotationController, didSelect styleAnnotation: MGLStyleAnnotation) { + annotationController.deselectStyleAnnotation(styleAnnotation) guard let channel = channel else { return }