From 562a9f27d25d3a5ff06934db3a3950c98cd80724 Mon Sep 17 00:00:00 2001 From: Nikodem Bernat Date: Thu, 16 Jan 2025 04:09:49 +0100 Subject: [PATCH 1/2] Add missing map types Signed-off-by: Nikodem Bernat --- ios/Classes/MapView/FlutterMapView.swift | 3 +++ lib/src/ui.dart | 9 +++++++++ 2 files changed, 12 insertions(+) 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 { From 6f3173ac3fedd2187aebb6b8ee5184200b1b66c4 Mon Sep 17 00:00:00 2001 From: Nikodem Bernat Date: Thu, 16 Jan 2025 04:11:43 +0100 Subject: [PATCH 2/2] Bump version Signed-off-by: Nikodem Bernat --- CHANGELOG.md | 4 ++++ pubspec.yaml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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/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