Skip to content

Commit

Permalink
Add zoom animation
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasJorgeHubert committed May 18, 2023
1 parent d342a56 commit 7f1f2ec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions MarvelUI/Core/Home/View/UberMapViewRepresentable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ extension UberMapViewRepresentable {
anno.coordinate = coordinate
self.parent.mapView.addAnnotation(anno)
self.parent.mapView.selectAnnotation(anno, animated: true)

parent.mapView.showAnnotations(parent.mapView.annotations, animated: true)
}
}
}

0 comments on commit 7f1f2ec

Please sign in to comment.