diff --git a/CHANGELOG.md b/CHANGELOG.md index eb3e9a3..6503516 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 1.4.0 + +* Added three new map types: `MapType.satelliteFlyover`, `MapType.hybridFlyover`, and `MapType.mutedStandard` + ## 1.3.0 * Animate marker position changes instead of removing and re-adding diff --git a/ios/Classes/MapView/FlutterMapView.swift b/ios/Classes/MapView/FlutterMapView.swift index 1e733ed..b1c80c9 100644 --- a/ios/Classes/MapView/FlutterMapView.swift +++ b/ios/Classes/MapView/FlutterMapView.swift @@ -27,6 +27,9 @@ class FlutterMapView: MKMapView, UIGestureRecognizerDelegate { MKMapType.standard, MKMapType.satellite, MKMapType.hybrid, + MKMapType.satelliteFlyover, + MKMapType.hybridFlyover, + MKMapType.mutedStandard, ] let userTrackingModes: Array = [ diff --git a/lib/src/ui.dart b/lib/src/ui.dart index d650a2a..f236658 100644 --- a/lib/src/ui.dart +++ b/lib/src/ui.dart @@ -14,6 +14,15 @@ enum MapType { /// Hybrid tiles (satellite images with some labels/overlays) hybrid, + + /// Satellite flyover tiles (aerial photos) + satelliteFlyover, + + /// Hybrid flyover tiles (satellite images with some labels/overlays) + hybridFlyover, + + /// Muted standard tiles (traffic and labels, subtle terrain information) + mutedStandard, } enum TrackingMode { diff --git a/pubspec.yaml b/pubspec.yaml index ff7ca9e..168fba9 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: apple_maps_flutter description: This plugin uses the Flutter platform view to display an Apple Maps widget. -version: 1.3.0 +version: 1.4.0 homepage: https://luisthein.de repository: https://github.com/LuisThein/apple_maps_flutter issue_tracker: https://github.com/LuisThein/apple_maps_flutter/issues