Skip to content

Commit 9585d1f

Browse files
committed
Fix a typo in method name
1 parent 2634230 commit 9585d1f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ios/Classes/Annotations/AnnotationController.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ extension AppleMapController: AnnotationDelegate {
1414
if let annotation: FlutterAnnotation = view.annotation as? FlutterAnnotation {
1515
self.currentlySelectedAnnotation = annotation.id
1616
if !annotation.selectedProgrammatically {
17-
if !self.isAnnoationInFront(zIndex: annotation.zIndex) {
17+
if !self.isAnnotationInFront(zIndex: annotation.zIndex) {
1818
self.moveToFront(annotation: annotation)
1919
}
2020
self.onAnnotationClick(annotation: annotation)
@@ -235,7 +235,7 @@ extension AppleMapController: AnnotationDelegate {
235235
return (mapViewAnnotations.last??.zIndex ?? 0) + 1
236236
}
237237

238-
private func isAnnoationInFront(zIndex: Double) -> Bool {
238+
private func isAnnotationInFront(zIndex: Double) -> Bool {
239239
return (self.mapView.getMapViewAnnotations().last??.zIndex ?? 0) == zIndex
240240
}
241241

0 commit comments

Comments
 (0)