File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ extension AppleMapController: AnnotationDelegate {
14
14
if let annotation: FlutterAnnotation = view. annotation as? FlutterAnnotation {
15
15
self . currentlySelectedAnnotation = annotation. id
16
16
if !annotation. selectedProgrammatically {
17
- if !self . isAnnoationInFront ( zIndex: annotation. zIndex) {
17
+ if !self . isAnnotationInFront ( zIndex: annotation. zIndex) {
18
18
self . moveToFront ( annotation: annotation)
19
19
}
20
20
self . onAnnotationClick ( annotation: annotation)
@@ -235,7 +235,7 @@ extension AppleMapController: AnnotationDelegate {
235
235
return ( mapViewAnnotations. last?? . zIndex ?? 0 ) + 1
236
236
}
237
237
238
- private func isAnnoationInFront ( zIndex: Double ) -> Bool {
238
+ private func isAnnotationInFront ( zIndex: Double ) -> Bool {
239
239
return ( self . mapView. getMapViewAnnotations ( ) . last?? . zIndex ?? 0 ) == zIndex
240
240
}
241
241
You can’t perform that action at this time.
0 commit comments