diff --git a/Assets/example-app.png b/Assets/example-app.png new file mode 100644 index 0000000..f821e89 Binary files /dev/null and b/Assets/example-app.png differ diff --git a/Assets/logo.png b/Assets/logo.png new file mode 100644 index 0000000..634b319 Binary files /dev/null and b/Assets/logo.png differ diff --git a/README.md b/README.md index 8265fc2..81fb08c 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@

- logo + logo

@@ -13,33 +13,41 @@

- - CI Status + + Swift Version - - Documentation + + Platforms + +
+ + Build and Test Status + + + Documentation - Platform Twitter

+Example application + ```swift import SwiftUI import FlyoverKit struct ContentView: View { - + var body: some View { FlyoverMap( coordinate: .init( - latitude: 37.8023, + latitude: 37.8023, longitude: -122.4057 ) ) } - + } ``` @@ -81,7 +89,7 @@ var body: some View { isStarted: true, // The coordinate to perform the flyover on coordinate: CLLocationCoordinate2D( - latitude: 37.8023, + latitude: 37.8023, longitude: -122.4057 ), configuration: Flyover.Configuration( @@ -111,7 +119,7 @@ if flyoverMapView.isFlyoverStarted { flyoverMapView.startFlyover( at: CLLocationCoordinate2D( - latitude: 37.8023, + latitude: 37.8023, longitude: -122.4057 ), configuration: .default @@ -131,6 +139,7 @@ let flyover = Flyover( mapView: self.mapView ) ``` + > Note: The provided MKMapView is always weakly referenced ## License