Skip to content

Version 1.1.0

Compare
Choose a tag to compare
@SvenTiigi SvenTiigi released this 28 Feb 13:26
· 121 commits to main since this release

FlyoverCamera State

In this release the property isStarted is completely removed and replaced with the state enum property. In order to check if the FlyoverCamera is started you can check

// Is FlyoverCamera started?
self.flyoverCamera.state == .started

// Is FlyoverCamera stopped?
self.flyoverCamera.state == .stopped

Flyover Operators

In order to compare two Flyover types you can use the following two operators.

// Equatable operator (==)
self.flyover1 == self.flyover2

This checks if the two given Flyover types are exactly the same via comparison of latitude and longitude.

// Rounded Equatable operator (~~)
self.flyover1 ~~ self.flyover2

This checks if the two given Flyover types are nearly the same via comparison of rounded latitude and longitude.

AstronautView

Version 1.1.0 introduces a new FlyoverCamera.Configuration.Theme named astronautView. The theme configures the FlyoverCamera to give you a view like an astronaut 🌎

Foreground/Background behavior

In this release we fixed an issue with foreground and background behavior of an Application running a FlyoverCamera or FlyoverMapView. The FlyoverCamera will stop as soon the Application is going into the background mode and will automatically start the flyover when the Application is in foreground