expo-maps 0.12.10 → 0.13.0-canary-20251223-b83b31e

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/CHANGELOG.md +5 -7
  2. package/android/build.gradle +9 -9
  3. package/android/src/main/java/expo/modules/maps/GoogleMapsView.kt +2 -1
  4. package/android/src/main/java/expo/modules/maps/GoogleStreetView.kt +2 -1
  5. package/build/apple/AppleMaps.types.d.ts +2 -0
  6. package/build/apple/AppleMaps.types.d.ts.map +1 -1
  7. package/build/apple/AppleMaps.types.js.map +1 -1
  8. package/expo-module.config.json +1 -1
  9. package/ios/AppleMapsViewiOS17.swift +3 -0
  10. package/ios/AppleMapsViewiOS18.swift +3 -0
  11. package/local-maven-repo/host/exp/exponent/expo.modules.maps/0.13.0-canary-20251223-b83b31e/expo.modules.maps-0.13.0-canary-20251223-b83b31e-sources.jar +0 -0
  12. package/local-maven-repo/host/exp/exponent/expo.modules.maps/0.13.0-canary-20251223-b83b31e/expo.modules.maps-0.13.0-canary-20251223-b83b31e-sources.jar.md5 +1 -0
  13. package/local-maven-repo/host/exp/exponent/expo.modules.maps/0.13.0-canary-20251223-b83b31e/expo.modules.maps-0.13.0-canary-20251223-b83b31e-sources.jar.sha1 +1 -0
  14. package/local-maven-repo/host/exp/exponent/expo.modules.maps/0.13.0-canary-20251223-b83b31e/expo.modules.maps-0.13.0-canary-20251223-b83b31e-sources.jar.sha256 +1 -0
  15. package/local-maven-repo/host/exp/exponent/expo.modules.maps/0.13.0-canary-20251223-b83b31e/expo.modules.maps-0.13.0-canary-20251223-b83b31e-sources.jar.sha512 +1 -0
  16. package/local-maven-repo/host/exp/exponent/expo.modules.maps/0.13.0-canary-20251223-b83b31e/expo.modules.maps-0.13.0-canary-20251223-b83b31e.aar +0 -0
  17. package/local-maven-repo/host/exp/exponent/expo.modules.maps/0.13.0-canary-20251223-b83b31e/expo.modules.maps-0.13.0-canary-20251223-b83b31e.aar.md5 +1 -0
  18. package/local-maven-repo/host/exp/exponent/expo.modules.maps/0.13.0-canary-20251223-b83b31e/expo.modules.maps-0.13.0-canary-20251223-b83b31e.aar.sha1 +1 -0
  19. package/local-maven-repo/host/exp/exponent/expo.modules.maps/0.13.0-canary-20251223-b83b31e/expo.modules.maps-0.13.0-canary-20251223-b83b31e.aar.sha256 +1 -0
  20. package/local-maven-repo/host/exp/exponent/expo.modules.maps/0.13.0-canary-20251223-b83b31e/expo.modules.maps-0.13.0-canary-20251223-b83b31e.aar.sha512 +1 -0
  21. package/local-maven-repo/host/exp/exponent/expo.modules.maps/{0.12.10/expo.modules.maps-0.12.10.module → 0.13.0-canary-20251223-b83b31e/expo.modules.maps-0.13.0-canary-20251223-b83b31e.module} +30 -30
  22. package/local-maven-repo/host/exp/exponent/expo.modules.maps/0.13.0-canary-20251223-b83b31e/expo.modules.maps-0.13.0-canary-20251223-b83b31e.module.md5 +1 -0
  23. package/local-maven-repo/host/exp/exponent/expo.modules.maps/0.13.0-canary-20251223-b83b31e/expo.modules.maps-0.13.0-canary-20251223-b83b31e.module.sha1 +1 -0
  24. package/local-maven-repo/host/exp/exponent/expo.modules.maps/0.13.0-canary-20251223-b83b31e/expo.modules.maps-0.13.0-canary-20251223-b83b31e.module.sha256 +1 -0
  25. package/local-maven-repo/host/exp/exponent/expo.modules.maps/0.13.0-canary-20251223-b83b31e/expo.modules.maps-0.13.0-canary-20251223-b83b31e.module.sha512 +1 -0
  26. package/local-maven-repo/host/exp/exponent/expo.modules.maps/{0.12.10/expo.modules.maps-0.12.10.pom → 0.13.0-canary-20251223-b83b31e/expo.modules.maps-0.13.0-canary-20251223-b83b31e.pom} +8 -8
  27. package/local-maven-repo/host/exp/exponent/expo.modules.maps/0.13.0-canary-20251223-b83b31e/expo.modules.maps-0.13.0-canary-20251223-b83b31e.pom.md5 +1 -0
  28. package/local-maven-repo/host/exp/exponent/expo.modules.maps/0.13.0-canary-20251223-b83b31e/expo.modules.maps-0.13.0-canary-20251223-b83b31e.pom.sha1 +1 -0
  29. package/local-maven-repo/host/exp/exponent/expo.modules.maps/0.13.0-canary-20251223-b83b31e/expo.modules.maps-0.13.0-canary-20251223-b83b31e.pom.sha256 +1 -0
  30. package/local-maven-repo/host/exp/exponent/expo.modules.maps/0.13.0-canary-20251223-b83b31e/expo.modules.maps-0.13.0-canary-20251223-b83b31e.pom.sha512 +1 -0
  31. package/local-maven-repo/host/exp/exponent/expo.modules.maps/maven-metadata.xml +4 -4
  32. package/local-maven-repo/host/exp/exponent/expo.modules.maps/maven-metadata.xml.md5 +1 -1
  33. package/local-maven-repo/host/exp/exponent/expo.modules.maps/maven-metadata.xml.sha1 +1 -1
  34. package/local-maven-repo/host/exp/exponent/expo.modules.maps/maven-metadata.xml.sha256 +1 -1
  35. package/local-maven-repo/host/exp/exponent/expo.modules.maps/maven-metadata.xml.sha512 +1 -1
  36. package/package.json +5 -6
  37. package/src/apple/AppleMaps.types.ts +2 -0
  38. package/local-maven-repo/host/exp/exponent/expo.modules.maps/0.12.10/expo.modules.maps-0.12.10-sources.jar +0 -0
  39. package/local-maven-repo/host/exp/exponent/expo.modules.maps/0.12.10/expo.modules.maps-0.12.10-sources.jar.md5 +0 -1
  40. package/local-maven-repo/host/exp/exponent/expo.modules.maps/0.12.10/expo.modules.maps-0.12.10-sources.jar.sha1 +0 -1
  41. package/local-maven-repo/host/exp/exponent/expo.modules.maps/0.12.10/expo.modules.maps-0.12.10-sources.jar.sha256 +0 -1
  42. package/local-maven-repo/host/exp/exponent/expo.modules.maps/0.12.10/expo.modules.maps-0.12.10-sources.jar.sha512 +0 -1
  43. package/local-maven-repo/host/exp/exponent/expo.modules.maps/0.12.10/expo.modules.maps-0.12.10.aar +0 -0
  44. package/local-maven-repo/host/exp/exponent/expo.modules.maps/0.12.10/expo.modules.maps-0.12.10.aar.md5 +0 -1
  45. package/local-maven-repo/host/exp/exponent/expo.modules.maps/0.12.10/expo.modules.maps-0.12.10.aar.sha1 +0 -1
  46. package/local-maven-repo/host/exp/exponent/expo.modules.maps/0.12.10/expo.modules.maps-0.12.10.aar.sha256 +0 -1
  47. package/local-maven-repo/host/exp/exponent/expo.modules.maps/0.12.10/expo.modules.maps-0.12.10.aar.sha512 +0 -1
  48. package/local-maven-repo/host/exp/exponent/expo.modules.maps/0.12.10/expo.modules.maps-0.12.10.module.md5 +0 -1
  49. package/local-maven-repo/host/exp/exponent/expo.modules.maps/0.12.10/expo.modules.maps-0.12.10.module.sha1 +0 -1
  50. package/local-maven-repo/host/exp/exponent/expo.modules.maps/0.12.10/expo.modules.maps-0.12.10.module.sha256 +0 -1
  51. package/local-maven-repo/host/exp/exponent/expo.modules.maps/0.12.10/expo.modules.maps-0.12.10.module.sha512 +0 -1
  52. package/local-maven-repo/host/exp/exponent/expo.modules.maps/0.12.10/expo.modules.maps-0.12.10.pom.md5 +0 -1
  53. package/local-maven-repo/host/exp/exponent/expo.modules.maps/0.12.10/expo.modules.maps-0.12.10.pom.sha1 +0 -1
  54. package/local-maven-repo/host/exp/exponent/expo.modules.maps/0.12.10/expo.modules.maps-0.12.10.pom.sha256 +0 -1
  55. package/local-maven-repo/host/exp/exponent/expo.modules.maps/0.12.10/expo.modules.maps-0.12.10.pom.sha512 +0 -1
package/CHANGELOG.md CHANGED
@@ -6,22 +6,20 @@
6
6
 
7
7
  ### 🎉 New features
8
8
 
9
- ### 🐛 Bug fixes
10
-
11
- ### 💡 Others
12
-
13
- ## 0.12.10 — 2025-12-18
9
+ - [iOS] Add `latitudeDelta` and `longitudeDelta` to `onCameraMove` event payload. ([#41655](https://github.com/expo/expo/pull/41655) by [@matinzd](https://github.com/matinzd))
14
10
 
15
11
  ### 🐛 Bug fixes
16
12
 
17
13
  - [iOS] Fix MapKit built-in buttons not responding ([#41151](https://github.com/expo/expo/pull/41151) by [@nishan](https://github.com/intergalacticspacehighway))
18
14
  - [iOS] Fix Map resets camera position on navigation tab switch. ([#41639](https://github.com/expo/expo/pull/41639) by [@nishan](https://github.com/intergalacticspacehighway))
19
15
 
20
- ## 0.12.9 — 2025-12-05
16
+ ### 💡 Others
17
+
18
+ ## 0.12.9 - 2025-12-05
21
19
 
22
20
  _This version does not introduce any user-facing changes._
23
21
 
24
- ## 0.12.8 2025-10-01
22
+ ## 0.12.8 - 2025-10-01
25
23
 
26
24
  ### 🐛 Bug fixes
27
25
 
@@ -14,13 +14,13 @@ apply plugin: 'expo-module-gradle-plugin'
14
14
  apply plugin: 'org.jetbrains.kotlin.plugin.compose'
15
15
 
16
16
  group = 'host.exp.exponent'
17
- version = '0.12.10'
17
+ version = '0.13.0-canary-20251223-b83b31e'
18
18
 
19
19
  android {
20
20
  namespace "expo.modules.maps"
21
21
  defaultConfig {
22
22
  versionCode 1
23
- versionName "0.12.10"
23
+ versionName "0.13.0-canary-20251223-b83b31e"
24
24
  }
25
25
  buildFeatures {
26
26
  compose true
@@ -31,12 +31,12 @@ android {
31
31
  }
32
32
 
33
33
  dependencies {
34
- implementation 'androidx.compose.foundation:foundation-android:1.7.6'
35
- implementation 'androidx.compose.ui:ui-android:1.7.6'
36
- implementation "androidx.compose.material3:material3:1.3.1"
37
- implementation 'androidx.lifecycle:lifecycle-runtime:2.8.7'
38
- implementation 'androidx.fragment:fragment-ktx:1.8.5'
39
- implementation 'androidx.compose.material3:material3-android:1.3.1'
34
+ implementation 'androidx.compose.foundation:foundation-android:1.9.1'
35
+ implementation 'androidx.compose.ui:ui-android:1.9.1'
36
+ implementation "androidx.compose.material3:material3:1.3.2"
37
+ implementation 'androidx.lifecycle:lifecycle-runtime:2.9.3'
38
+ implementation 'androidx.fragment:fragment-ktx:1.8.9'
39
+ implementation 'androidx.compose.material3:material3-android:1.3.2'
40
40
 
41
- implementation 'com.google.maps.android:maps-compose:6.6.0'
41
+ implementation 'com.google.maps.android:maps-compose:6.10.0'
42
42
  }
@@ -43,6 +43,7 @@ import kotlinx.coroutines.launch
43
43
  import androidx.compose.foundation.layout.PaddingValues
44
44
  import androidx.compose.ui.unit.dp
45
45
  import com.google.android.gms.maps.GoogleMapOptions
46
+ import expo.modules.kotlin.views.ComposableScope
46
47
 
47
48
  data class GoogleMapsViewProps(
48
49
  val userLocation: MutableState<UserLocationRecord> = mutableStateOf(UserLocationRecord()),
@@ -81,7 +82,7 @@ class GoogleMapsView(context: Context, appContext: AppContext) :
81
82
  private var manualCameraControl = false
82
83
 
83
84
  @Composable
84
- override fun Content(modifier: Modifier) {
85
+ override fun ComposableScope.Content() {
85
86
  cameraState = updateCameraState()
86
87
  val markerState = markerStateFromProps()
87
88
  val locationSource = locationSourceFromProps()
@@ -13,6 +13,7 @@ import com.google.maps.android.ktx.MapsExperimentalFeature
13
13
  import expo.modules.kotlin.AppContext
14
14
  import expo.modules.kotlin.views.ComposeProps
15
15
  import expo.modules.kotlin.views.ExpoComposeView
16
+ import expo.modules.kotlin.views.ComposableScope
16
17
 
17
18
  data class GoogleStreetViewProps(
18
19
  val position: MutableState<CameraPositionStreetViewRecord> = mutableStateOf(CameraPositionStreetViewRecord()),
@@ -30,7 +31,7 @@ class GoogleStreetView(
30
31
  override val props = GoogleStreetViewProps()
31
32
 
32
33
  @Composable
33
- override fun Content(modifier: Modifier) {
34
+ override fun ComposableScope.Content() {
34
35
  key(props.position.value.coordinates.toString()) {
35
36
  StreetView(
36
37
  streetViewPanoramaOptionsFactory = {
@@ -420,6 +420,8 @@ export type AppleMapsViewProps = {
420
420
  */
421
421
  onCameraMove?: (event: {
422
422
  coordinates: Coordinates;
423
+ latitudeDelta: number;
424
+ longitudeDelta: number;
423
425
  zoom: number;
424
426
  tilt: number;
425
427
  bearing: number;
@@ -1 +1 @@
1
- {"version":3,"file":"AppleMaps.types.d.ts","sourceRoot":"","sources":["../../src/apple/AppleMaps.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,MAAM,CAAC;AAC1C,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,KAAK,EAAE,mBAAmB,EAAE,SA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AAC,IAAI,CAAC,CAAC;CAClE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AppleMaps.types.js","sourceRoot":"","sources":["../../src/apple/AppleMaps.types.ts"],"names":[],"mappings":"AA8DA;;;GAGG;AACH,MAAM,CAAN,IAAY,gBAaX;AAbD,WAAY,gBAAgB;IAC1B;;OAEG;IACH,qCAAiB,CAAA;IACjB;;OAEG;IACH,yCAAqB,CAAA;IACrB;;OAEG;IACH,uCAAmB,CAAA;AACrB,CAAC,EAbW,gBAAgB,KAAhB,gBAAgB,QAa3B;AAED;;;GAGG;AACH,MAAM,CAAN,IAAY,qBASX;AATD,WAAY,qBAAqB;IAC/B;;OAEG;IACH,8CAAqB,CAAA;IACrB;;OAEG;IACH,8CAAqB,CAAA;AACvB,CAAC,EATW,qBAAqB,KAArB,qBAAqB,QAShC;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,0BAaX;AAbD,WAAY,0BAA0B;IACpC;;OAEG;IACH,qDAAuB,CAAA;IACvB;;OAEG;IACH,2CAAa,CAAA;IACb;;OAEG;IACH,qDAAuB,CAAA;AACzB,CAAC,EAbW,0BAA0B,KAA1B,0BAA0B,QAarC;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,yBASX;AATD,WAAY,yBAAyB;IACnC;;OAEG;IACH,oDAAuB,CAAA;IACvB;;OAEG;IACH,4CAAe,CAAA;AACjB,CAAC,EATW,yBAAyB,KAAzB,yBAAyB,QASpC;AAED;;;GAGG;AACH,MAAM,CAAN,IAAY,+BA+FX;AA/FD,WAAY,+BAA+B;IACzC,mBAAmB;IACnB,oDAAiB,CAAA;IACjB,8DAA2B,CAAA;IAC3B,sDAAmB,CAAA;IAEnB,YAAY;IACZ,sDAAmB,CAAA;IACnB,8DAA2B,CAAA;IAC3B,oDAAiB,CAAA;IACjB,4DAAyB,CAAA;IAEzB,gBAAgB;IAChB,kEAA+B,CAAA;IAC/B,0DAAuB,CAAA;IAEvB,oBAAoB;IACpB,gEAA6B,CAAA;I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AA;IACf,sDAAmB,CAAA;IACnB,wEAAqC,CAAA;IAErC,eAAe;IACf,sDAAmB,CAAA;IACnB,wDAAqB,CAAA;IACrB,sDAAmB,CAAA;IACnB,wDAAqB,CAAA;AACvB,CAAC,EA/FW,+BAA+B,KAA/B,+BAA+B,QA+F1C","sourcesContent":["import type { SharedRefType } from 'expo';\nimport type { Ref } from 'react';\nimport type { ProcessedColorValue, StyleProp, ViewStyle } from 'react-native';\n\nimport { CameraPosition, Coordinates } from '../shared.types';\n\n/**\n * @platform ios\n */\nexport type AppleMapsMarker = {\n /**\n * The unique identifier for the marker. This can be used to identify the clicked marker in the `onMarkerClick` event.\n */\n id?: string;\n\n /**\n * The SF Symbol to display for the marker.\n */\n systemImage?: string;\n\n /**\n * The coordinates of the marker.\n */\n coordinates?: Coordinates;\n\n /**\n * The title of the marker, displayed in the callout when the marker is clicked.\n */\n title?: string;\n\n /**\n * The tint color of the marker.\n */\n tintColor?: string;\n};\n\n/**\n * @platform ios\n */\nexport type AppleMapsUISettings = {\n /**\n * Whether the compass is enabled on the map.\n * If enabled, the compass is only visible when the map is rotated.\n */\n compassEnabled?: boolean;\n\n /**\n * Whether the my location button is visible.\n */\n myLocationButtonEnabled?: boolean;\n\n /**\n * Whether the scale bar is displayed when zooming.\n */\n scaleBarEnabled?: boolean;\n\n /**\n * Whether the user is allowed to change the pitch type.\n */\n togglePitchEnabled?: boolean;\n};\n\n/**\n * The type of map to display.\n * @platform ios\n */\nexport enum AppleMapsMapType {\n /**\n * A satellite image of the area with road and road name layers on top.\n */\n HYBRID = 'HYBRID',\n /**\n * A street map that shows the position of all roads and some road names.\n */\n STANDARD = 'STANDARD',\n /**\n * A satellite image of the area.\n */\n IMAGERY = 'IMAGERY',\n}\n\n/**\n * The style of the polyline.\n * @platform ios\n */\nexport enum AppleMapsContourStyle {\n /**\n * A straight line.\n */\n STRAIGHT = 'STRAIGHT',\n /**\n * A geodesic line.\n */\n GEODESIC = 'GEODESIC',\n}\n\n/**\n * @platform ios\n */\nexport enum AppleMapsMapStyleElevation {\n /**\n * The default elevation style, that renders a flat, 2D map.\n */\n AUTOMATIC = 'AUTOMATIC',\n /**\n * A flat elevation style.\n */\n FLAT = 'FLAT',\n /**\n * A value that renders a realistic, 3D map.\n */\n REALISTIC = 'REALISTIC',\n}\n\n/**\n * @platform ios\n */\nexport enum AppleMapsMapStyleEmphasis {\n /**\n * The default level of emphasis.\n */\n AUTOMATIC = 'AUTOMATIC',\n /**\n * A muted emphasis style, that deemphasizes the map’s imagery.\n */\n MUTED = 'MUTED',\n}\n\n/**\n * @platform ios\n * @see https://developer.apple.com/documentation/mapkit/AppleMapPointOfInterestCategory\n */\nexport enum AppleMapPointOfInterestCategory {\n // Arts and culture\n MUSEUM = 'MUSEUM',\n MUSIC_VENUE = 'MUSIC_VENUE',\n THEATER = 'THEATER',\n\n // Education\n LIBRARY = 'LIBRARY',\n PLANETARIUM = 'PLANETARIUM',\n SCHOOL = 'SCHOOL',\n UNIVERSITY = 'UNIVERSITY',\n\n // Entertainment\n MOVIE_THEATER = 'MOVIE_THEATER',\n NIGHTLIFE = 'NIGHTLIFE',\n\n // Health and safety\n FIRE_STATION = 'FIRE_STATION',\n HOSPITAL = 'HOSPITAL',\n PHARMACY = 'PHARMACY',\n POLICE = 'POLICE',\n\n // Historical and cultural landmarks\n CASTLE = 'CASTLE',\n FORTRESS = 'FORTRESS',\n LANDMARK = 'LANDMARK',\n NATIONAL_MONUMENT = 'NATIONAL_MONUMENT',\n\n // Food and drink\n BAKERY = 'BAKERY',\n BREWERY = 'BREWERY',\n CAFE = 'CAFE',\n DISTILLERY = 'DISTILLERY',\n FOOD_MARKET = 'FOOD_MARKET',\n RESTAURANT = 'RESTAURANT',\n WINERY = 'WINERY',\n\n // Personal services\n ANIMAL_SERVICE = 'ANIMAL_SERVICE',\n ATM = 'ATM',\n AUTOMOTIVE_REPAIR = 'AUTOMOTIVE_REPAIR',\n BANK = 'BANK',\n BEAUTY = 'BEAUTY',\n EV_CHARGER = 'EV_CHARGER',\n FITNESS_CENTER = 'FITNESS_CENTER',\n LAUNDRY = 'LAUNDRY',\n MAILBOX = 'MAILBOX',\n POST_OFFICE = 'POST_OFFICE',\n RESTROOM = 'RESTROOM',\n SPA = 'SPA',\n STORE = 'STORE',\n\n // Parks and recreation\n AMUSEMENT_PARK = 'AMUSEMENT_PARK',\n AQUARIUM = 'AQUARIUM',\n BEACH = 'BEACH',\n CAMPGROUND = 'CAMPGROUND',\n FAIRGROUND = 'FAIRGROUND',\n MARINA = 'MARINA',\n NATIONAL_PARK = 'NATIONAL_PARK',\n PARK = 'PARK',\n RV_PARK = 'RV_PARK',\n ZOO = 'ZOO',\n\n // Sports\n BASEBALL = 'BASEBALL',\n BASKETBALL = 'BASKETBALL',\n BOWLING = 'BOWLING',\n GO_KART = 'GO_KART',\n GOLF = 'GOLF',\n HIKING = 'HIKING',\n MINI_GOLF = 'MINI_GOLF',\n ROCK_CLIMBING = 'ROCK_CLIMBING',\n SKATE_PARK = 'SKATE_PARK',\n SKATING = 'SKATING',\n SKIING = 'SKIING',\n SOCCER = 'SOCCER',\n STADIUM = 'STADIUM',\n TENNIS = 'TENNIS',\n VOLLEYBALL = 'VOLLEYBALL',\n\n // Travel\n AIRPORT = 'AIRPORT',\n CAR_RENTAL = 'CAR_RENTAL',\n CONVENTION_CENTER = 'CONVENTION_CENTER',\n GAS_STATION = 'GAS_STATION',\n HOTEL = 'HOTEL',\n PARKING = 'PARKING',\n PUBLIC_TRANSPORT = 'PUBLIC_TRANSPORT',\n\n // Water sports\n FISHING = 'FISHING',\n KAYAKING = 'KAYAKING',\n SURFING = 'SURFING',\n SWIMMING = 'SWIMMING',\n}\n\n/**\n * @platform ios\n */\nexport type AppleMapsPointOfInterestCategories = {\n /**\n * The POI categories to include.\n * To hide all POIs, set this to an empty array.\n */\n including?: AppleMapPointOfInterestCategory[];\n\n /**\n * The POI categories to exclude.\n * To show all POIs, set this to an empty array.\n */\n excluding?: AppleMapPointOfInterestCategory[];\n};\n\n/**\n * @platform ios\n */\nexport type AppleMapsProperties = {\n /**\n * Whether the user location is shown on the map.\n * @default false\n */\n isMyLocationEnabled?: boolean;\n\n /**\n * Whether the traffic layer is enabled on the map.\n */\n isTrafficEnabled?: boolean;\n\n /**\n * Defines which map type should be used.\n */\n mapType?: AppleMapsMapType;\n\n /**\n * A structure you use to define points of interest to include or exclude on a map.\n */\n pointsOfInterest?: AppleMapsPointOfInterestCategories;\n\n /**\n * Values you use to determine whether a map renders elevation.\n */\n elevation?: AppleMapsMapStyleElevation;\n\n /**\n * Values that control how the framework emphasizes map features.\n */\n emphasis?: AppleMapsMapStyleEmphasis;\n\n /**\n * If true, the user can select a location on the map to get more information.\n */\n selectionEnabled?: boolean;\n\n /**\n * The maximum distance in meters from a tap of a polyline for it to be considered a hit.\n * If the distance is greater than the threshold, the polyline is not considered a hit.\n * If a hit occurs, the `onPolylineClick` event will be triggered.\n * Defaults to 20 meters.\n */\n polylineTapThreshold?: number;\n};\n\n/**\n * @platform ios\n */\nexport type AppleMapsAnnotation = {\n /**\n * The background color of the annotation.\n */\n backgroundColor?: string;\n /**\n * The text to display in the annotation.\n */\n text?: string;\n /**\n * The text color of the annotation.\n */\n textColor?: string;\n /**\n * The custom icon to display in the annotation.\n */\n icon?: SharedRefType<'image'>;\n} & AppleMapsMarker;\n\n/**\n * @platform ios\n */\nexport type AppleMapsPolyline = {\n /**\n * The unique identifier for the polyline. This can be used to identify the clicked polyline in the `onPolylineClick` event.\n */\n id?: string;\n /**\n * The coordinates of the polyline.\n */\n coordinates: Coordinates[];\n /**\n * The color of the polyline.\n */\n color?: ProcessedColorValue | string;\n /**\n * The width of the polyline.\n */\n width?: number;\n /**\n * The style of the polyline.\n */\n contourStyle?: AppleMapsContourStyle;\n};\n\n/**\n * @platform ios\n */\nexport type AppleMapsCircle = {\n /**\n * The unique identifier for the circle. This can be used to identify the clicked circle in the `onCircleClick` event.\n */\n id?: string;\n\n /**\n * The coordinates of the circle.\n */\n center: Coordinates;\n\n /**\n * The radius of the circle (in meters).\n */\n radius: number;\n\n /**\n * The color of the circle.\n */\n color?: ProcessedColorValue | string;\n\n /**\n * The width of the circle.\n */\n width?: number;\n\n /**\n * The color of the circle line.\n */\n lineColor?: ProcessedColorValue | string;\n\n /**\n * The width of the circle line.\n */\n lineWidth?: number;\n};\n\n/**\n * @platform ios\n */\nexport type AppleMapsPolygon = {\n /**\n * The unique identifier for the polygon. This can be used to identify the clicked polygon in the `onPolygonClick` event.\n */\n id?: string;\n\n /**\n * The coordinates of the circle.\n */\n coordinates: Coordinates[];\n\n /**\n * The color of the polygon.\n */\n color?: ProcessedColorValue | string;\n\n /**\n * The width of the polygon.\n */\n lineWidth?: number;\n\n /**\n * The color of the polygon.\n */\n lineColor?: ProcessedColorValue | string;\n};\n\n/**\n * @platform ios\n */\nexport type AppleMapsViewProps = {\n ref?: Ref<AppleMapsViewType>;\n style?: StyleProp<ViewStyle>;\n\n /**\n * The initial camera position of the map.\n */\n cameraPosition?: CameraPosition;\n\n /**\n * The array of markers to display on the map.\n */\n markers?: AppleMapsMarker[];\n\n /**\n * The array of polylines to display on the map.\n */\n polylines?: AppleMapsPolyline[];\n\n /**\n * The array of polygons to display on the map.\n */\n polygons?: AppleMapsPolygon[];\n\n /**\n * The array of circles to display on the map.\n */\n circles?: AppleMapsCircle[];\n\n /**\n * The array of annotations to display on the map.\n */\n annotations?: AppleMapsAnnotation[];\n\n /**\n * The `MapUiSettings` to be used for UI-specific settings on the map.\n */\n uiSettings?: AppleMapsUISettings;\n\n /**\n * The properties for the map.\n */\n properties?: AppleMapsProperties;\n\n /**\n * Lambda invoked when the user clicks on the map.\n * It won't be invoked if the user clicks on POI or a marker.\n */\n onMapClick?: (event: { coordinates: Coordinates }) => void;\n\n /**\n * Lambda invoked when the marker is clicked\n * @platform ios 18.0+\n */\n onMarkerClick?: (event: AppleMapsMarker) => void;\n\n /**\n * Lambda invoked when the polyline is clicked\n * @platform ios 18.0+\n */\n onPolylineClick?: (event: AppleMapsPolyline) => void;\n\n /**\n * Lambda invoked when the polygon is clicked\n * @platform ios 18.0+\n */\n onPolygonClick?: (event: AppleMapsPolygon) => void;\n\n /**\n * Lambda invoked when the circle is clicked\n * @platform ios 18.0+\n */\n onCircleClick?: (event: AppleMapsCircle) => void;\n\n /**\n * Lambda invoked when the map was moved by the user.\n */\n onCameraMove?: (event: {\n coordinates: Coordinates;\n zoom: number;\n tilt: number;\n bearing: number;\n }) => void;\n};\n\n/**\n * @platform ios\n */\nexport type AppleMapsViewType = {\n /**\n * Update camera position.\n * Animation duration is not supported on iOS.\n *\n * @param config New camera postion.\n */\n setCameraPosition: (config?: CameraPosition) => void;\n\n /**\n * Opens the look around view at specified coordinates.\n *\n * @param coordinates The coordinates of the location to open the look around view at.\n */\n openLookAroundAsync: (coordinates: Coordinates) => Promise<void>;\n};\n"]}
1
+ {"version":3,"file":"AppleMaps.types.js","sourceRoot":"","sources":["../../src/apple/AppleMaps.types.ts"],"names":[],"mappings":"AA8DA;;;GAGG;AACH,MAAM,CAAN,IAAY,gBAaX;AAbD,WAAY,gBAAgB;IAC1B;;OAEG;IACH,qCAAiB,CAAA;IACjB;;OAEG;IACH,yCAAqB,CAAA;IACrB;;OAEG;IACH,uCAAmB,CAAA;AACrB,CAAC,EAbW,gBAAgB,KAAhB,gBAAgB,QAa3B;AAED;;;GAGG;AACH,MAAM,CAAN,IAAY,qBASX;AATD,WAAY,qBAAqB;IAC/B;;OAEG;IACH,8CAAqB,CAAA;IACrB;;OAEG;IACH,8CAAqB,CAAA;AACvB,CAAC,EATW,qBAAqB,KAArB,qBAAqB,QAShC;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,0BAaX;AAbD,WAAY,0BAA0B;IACpC;;OAEG;IACH,qDAAuB,CAAA;IACvB;;OAEG;IACH,2CAAa,CAAA;IACb;;OAEG;IACH,qDAAuB,CAAA;AACzB,CAAC,EAbW,0BAA0B,KAA1B,0BAA0B,QAarC;AAED;;GAEG;AACH,MAA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AC/B,gDAAa,CAAA;IACb,sDAAmB,CAAA;IACnB,8CAAW,CAAA;IAEX,SAAS;IACT,wDAAqB,CAAA;IACrB,4DAAyB,CAAA;IACzB,sDAAmB,CAAA;IACnB,sDAAmB,CAAA;IACnB,gDAAa,CAAA;IACb,oDAAiB,CAAA;IACjB,0DAAuB,CAAA;IACvB,kEAA+B,CAAA;IAC/B,4DAAyB,CAAA;IACzB,sDAAmB,CAAA;IACnB,oDAAiB,CAAA;IACjB,oDAAiB,CAAA;IACjB,sDAAmB,CAAA;IACnB,oDAAiB,CAAA;IACjB,4DAAyB,CAAA;IAEzB,SAAS;IACT,sDAAmB,CAAA;IACnB,4DAAyB,CAAA;IACzB,0EAAuC,CAAA;IACvC,8DAA2B,CAAA;IAC3B,kDAAe,CAAA;IACf,sDAAmB,CAAA;IACnB,wEAAqC,CAAA;IAErC,eAAe;IACf,sDAAmB,CAAA;IACnB,wDAAqB,CAAA;IACrB,sDAAmB,CAAA;IACnB,wDAAqB,CAAA;AACvB,CAAC,EA/FW,+BAA+B,KAA/B,+BAA+B,QA+F1C","sourcesContent":["import type { SharedRefType } from 'expo';\nimport type { Ref } from 'react';\nimport type { ProcessedColorValue, StyleProp, ViewStyle } from 'react-native';\n\nimport { CameraPosition, Coordinates } from '../shared.types';\n\n/**\n * @platform ios\n */\nexport type AppleMapsMarker = {\n /**\n * The unique identifier for the marker. This can be used to identify the clicked marker in the `onMarkerClick` event.\n */\n id?: string;\n\n /**\n * The SF Symbol to display for the marker.\n */\n systemImage?: string;\n\n /**\n * The coordinates of the marker.\n */\n coordinates?: Coordinates;\n\n /**\n * The title of the marker, displayed in the callout when the marker is clicked.\n */\n title?: string;\n\n /**\n * The tint color of the marker.\n */\n tintColor?: string;\n};\n\n/**\n * @platform ios\n */\nexport type AppleMapsUISettings = {\n /**\n * Whether the compass is enabled on the map.\n * If enabled, the compass is only visible when the map is rotated.\n */\n compassEnabled?: boolean;\n\n /**\n * Whether the my location button is visible.\n */\n myLocationButtonEnabled?: boolean;\n\n /**\n * Whether the scale bar is displayed when zooming.\n */\n scaleBarEnabled?: boolean;\n\n /**\n * Whether the user is allowed to change the pitch type.\n */\n togglePitchEnabled?: boolean;\n};\n\n/**\n * The type of map to display.\n * @platform ios\n */\nexport enum AppleMapsMapType {\n /**\n * A satellite image of the area with road and road name layers on top.\n */\n HYBRID = 'HYBRID',\n /**\n * A street map that shows the position of all roads and some road names.\n */\n STANDARD = 'STANDARD',\n /**\n * A satellite image of the area.\n */\n IMAGERY = 'IMAGERY',\n}\n\n/**\n * The style of the polyline.\n * @platform ios\n */\nexport enum AppleMapsContourStyle {\n /**\n * A straight line.\n */\n STRAIGHT = 'STRAIGHT',\n /**\n * A geodesic line.\n */\n GEODESIC = 'GEODESIC',\n}\n\n/**\n * @platform ios\n */\nexport enum AppleMapsMapStyleElevation {\n /**\n * The default elevation style, that renders a flat, 2D map.\n */\n AUTOMATIC = 'AUTOMATIC',\n /**\n * A flat elevation style.\n */\n FLAT = 'FLAT',\n /**\n * A value that renders a realistic, 3D map.\n */\n REALISTIC = 'REALISTIC',\n}\n\n/**\n * @platform ios\n */\nexport enum AppleMapsMapStyleEmphasis {\n /**\n * The default level of emphasis.\n */\n AUTOMATIC = 'AUTOMATIC',\n /**\n * A muted emphasis style, that deemphasizes the map’s imagery.\n */\n MUTED = 'MUTED',\n}\n\n/**\n * @platform ios\n * @see https://developer.apple.com/documentation/mapkit/AppleMapPointOfInterestCategory\n */\nexport enum AppleMapPointOfInterestCategory {\n // Arts and culture\n MUSEUM = 'MUSEUM',\n MUSIC_VENUE = 'MUSIC_VENUE',\n THEATER = 'THEATER',\n\n // Education\n LIBRARY = 'LIBRARY',\n PLANETARIUM = 'PLANETARIUM',\n SCHOOL = 'SCHOOL',\n UNIVERSITY = 'UNIVERSITY',\n\n // Entertainment\n MOVIE_THEATER = 'MOVIE_THEATER',\n NIGHTLIFE = 'NIGHTLIFE',\n\n // Health and safety\n FIRE_STATION = 'FIRE_STATION',\n HOSPITAL = 'HOSPITAL',\n PHARMACY = 'PHARMACY',\n POLICE = 'POLICE',\n\n // Historical and cultural landmarks\n CASTLE = 'CASTLE',\n FORTRESS = 'FORTRESS',\n LANDMARK = 'LANDMARK',\n NATIONAL_MONUMENT = 'NATIONAL_MONUMENT',\n\n // Food and drink\n BAKERY = 'BAKERY',\n BREWERY = 'BREWERY',\n CAFE = 'CAFE',\n DISTILLERY = 'DISTILLERY',\n FOOD_MARKET = 'FOOD_MARKET',\n RESTAURANT = 'RESTAURANT',\n WINERY = 'WINERY',\n\n // Personal services\n ANIMAL_SERVICE = 'ANIMAL_SERVICE',\n ATM = 'ATM',\n AUTOMOTIVE_REPAIR = 'AUTOMOTIVE_REPAIR',\n BANK = 'BANK',\n BEAUTY = 'BEAUTY',\n EV_CHARGER = 'EV_CHARGER',\n FITNESS_CENTER = 'FITNESS_CENTER',\n LAUNDRY = 'LAUNDRY',\n MAILBOX = 'MAILBOX',\n POST_OFFICE = 'POST_OFFICE',\n RESTROOM = 'RESTROOM',\n SPA = 'SPA',\n STORE = 'STORE',\n\n // Parks and recreation\n AMUSEMENT_PARK = 'AMUSEMENT_PARK',\n AQUARIUM = 'AQUARIUM',\n BEACH = 'BEACH',\n CAMPGROUND = 'CAMPGROUND',\n FAIRGROUND = 'FAIRGROUND',\n MARINA = 'MARINA',\n NATIONAL_PARK = 'NATIONAL_PARK',\n PARK = 'PARK',\n RV_PARK = 'RV_PARK',\n ZOO = 'ZOO',\n\n // Sports\n BASEBALL = 'BASEBALL',\n BASKETBALL = 'BASKETBALL',\n BOWLING = 'BOWLING',\n GO_KART = 'GO_KART',\n GOLF = 'GOLF',\n HIKING = 'HIKING',\n MINI_GOLF = 'MINI_GOLF',\n ROCK_CLIMBING = 'ROCK_CLIMBING',\n SKATE_PARK = 'SKATE_PARK',\n SKATING = 'SKATING',\n SKIING = 'SKIING',\n SOCCER = 'SOCCER',\n STADIUM = 'STADIUM',\n TENNIS = 'TENNIS',\n VOLLEYBALL = 'VOLLEYBALL',\n\n // Travel\n AIRPORT = 'AIRPORT',\n CAR_RENTAL = 'CAR_RENTAL',\n CONVENTION_CENTER = 'CONVENTION_CENTER',\n GAS_STATION = 'GAS_STATION',\n HOTEL = 'HOTEL',\n PARKING = 'PARKING',\n PUBLIC_TRANSPORT = 'PUBLIC_TRANSPORT',\n\n // Water sports\n FISHING = 'FISHING',\n KAYAKING = 'KAYAKING',\n SURFING = 'SURFING',\n SWIMMING = 'SWIMMING',\n}\n\n/**\n * @platform ios\n */\nexport type AppleMapsPointOfInterestCategories = {\n /**\n * The POI categories to include.\n * To hide all POIs, set this to an empty array.\n */\n including?: AppleMapPointOfInterestCategory[];\n\n /**\n * The POI categories to exclude.\n * To show all POIs, set this to an empty array.\n */\n excluding?: AppleMapPointOfInterestCategory[];\n};\n\n/**\n * @platform ios\n */\nexport type AppleMapsProperties = {\n /**\n * Whether the user location is shown on the map.\n * @default false\n */\n isMyLocationEnabled?: boolean;\n\n /**\n * Whether the traffic layer is enabled on the map.\n */\n isTrafficEnabled?: boolean;\n\n /**\n * Defines which map type should be used.\n */\n mapType?: AppleMapsMapType;\n\n /**\n * A structure you use to define points of interest to include or exclude on a map.\n */\n pointsOfInterest?: AppleMapsPointOfInterestCategories;\n\n /**\n * Values you use to determine whether a map renders elevation.\n */\n elevation?: AppleMapsMapStyleElevation;\n\n /**\n * Values that control how the framework emphasizes map features.\n */\n emphasis?: AppleMapsMapStyleEmphasis;\n\n /**\n * If true, the user can select a location on the map to get more information.\n */\n selectionEnabled?: boolean;\n\n /**\n * The maximum distance in meters from a tap of a polyline for it to be considered a hit.\n * If the distance is greater than the threshold, the polyline is not considered a hit.\n * If a hit occurs, the `onPolylineClick` event will be triggered.\n * Defaults to 20 meters.\n */\n polylineTapThreshold?: number;\n};\n\n/**\n * @platform ios\n */\nexport type AppleMapsAnnotation = {\n /**\n * The background color of the annotation.\n */\n backgroundColor?: string;\n /**\n * The text to display in the annotation.\n */\n text?: string;\n /**\n * The text color of the annotation.\n */\n textColor?: string;\n /**\n * The custom icon to display in the annotation.\n */\n icon?: SharedRefType<'image'>;\n} & AppleMapsMarker;\n\n/**\n * @platform ios\n */\nexport type AppleMapsPolyline = {\n /**\n * The unique identifier for the polyline. This can be used to identify the clicked polyline in the `onPolylineClick` event.\n */\n id?: string;\n /**\n * The coordinates of the polyline.\n */\n coordinates: Coordinates[];\n /**\n * The color of the polyline.\n */\n color?: ProcessedColorValue | string;\n /**\n * The width of the polyline.\n */\n width?: number;\n /**\n * The style of the polyline.\n */\n contourStyle?: AppleMapsContourStyle;\n};\n\n/**\n * @platform ios\n */\nexport type AppleMapsCircle = {\n /**\n * The unique identifier for the circle. This can be used to identify the clicked circle in the `onCircleClick` event.\n */\n id?: string;\n\n /**\n * The coordinates of the circle.\n */\n center: Coordinates;\n\n /**\n * The radius of the circle (in meters).\n */\n radius: number;\n\n /**\n * The color of the circle.\n */\n color?: ProcessedColorValue | string;\n\n /**\n * The width of the circle.\n */\n width?: number;\n\n /**\n * The color of the circle line.\n */\n lineColor?: ProcessedColorValue | string;\n\n /**\n * The width of the circle line.\n */\n lineWidth?: number;\n};\n\n/**\n * @platform ios\n */\nexport type AppleMapsPolygon = {\n /**\n * The unique identifier for the polygon. This can be used to identify the clicked polygon in the `onPolygonClick` event.\n */\n id?: string;\n\n /**\n * The coordinates of the circle.\n */\n coordinates: Coordinates[];\n\n /**\n * The color of the polygon.\n */\n color?: ProcessedColorValue | string;\n\n /**\n * The width of the polygon.\n */\n lineWidth?: number;\n\n /**\n * The color of the polygon.\n */\n lineColor?: ProcessedColorValue | string;\n};\n\n/**\n * @platform ios\n */\nexport type AppleMapsViewProps = {\n ref?: Ref<AppleMapsViewType>;\n style?: StyleProp<ViewStyle>;\n\n /**\n * The initial camera position of the map.\n */\n cameraPosition?: CameraPosition;\n\n /**\n * The array of markers to display on the map.\n */\n markers?: AppleMapsMarker[];\n\n /**\n * The array of polylines to display on the map.\n */\n polylines?: AppleMapsPolyline[];\n\n /**\n * The array of polygons to display on the map.\n */\n polygons?: AppleMapsPolygon[];\n\n /**\n * The array of circles to display on the map.\n */\n circles?: AppleMapsCircle[];\n\n /**\n * The array of annotations to display on the map.\n */\n annotations?: AppleMapsAnnotation[];\n\n /**\n * The `MapUiSettings` to be used for UI-specific settings on the map.\n */\n uiSettings?: AppleMapsUISettings;\n\n /**\n * The properties for the map.\n */\n properties?: AppleMapsProperties;\n\n /**\n * Lambda invoked when the user clicks on the map.\n * It won't be invoked if the user clicks on POI or a marker.\n */\n onMapClick?: (event: { coordinates: Coordinates }) => void;\n\n /**\n * Lambda invoked when the marker is clicked\n * @platform ios 18.0+\n */\n onMarkerClick?: (event: AppleMapsMarker) => void;\n\n /**\n * Lambda invoked when the polyline is clicked\n * @platform ios 18.0+\n */\n onPolylineClick?: (event: AppleMapsPolyline) => void;\n\n /**\n * Lambda invoked when the polygon is clicked\n * @platform ios 18.0+\n */\n onPolygonClick?: (event: AppleMapsPolygon) => void;\n\n /**\n * Lambda invoked when the circle is clicked\n * @platform ios 18.0+\n */\n onCircleClick?: (event: AppleMapsCircle) => void;\n\n /**\n * Lambda invoked when the map was moved by the user.\n */\n onCameraMove?: (event: {\n coordinates: Coordinates;\n latitudeDelta: number;\n longitudeDelta: number;\n zoom: number;\n tilt: number;\n bearing: number;\n }) => void;\n};\n\n/**\n * @platform ios\n */\nexport type AppleMapsViewType = {\n /**\n * Update camera position.\n * Animation duration is not supported on iOS.\n *\n * @param config New camera postion.\n */\n setCameraPosition: (config?: CameraPosition) => void;\n\n /**\n * Opens the look around view at specified coordinates.\n *\n * @param coordinates The coordinates of the location to open the look around view at.\n */\n openLookAroundAsync: (coordinates: Coordinates) => Promise<void>;\n};\n"]}
@@ -13,7 +13,7 @@
13
13
  "publication": {
14
14
  "groupId": "host.exp.exponent",
15
15
  "artifactId": "expo.modules.maps",
16
- "version": "0.12.10",
16
+ "version": "0.13.0-canary-20251223-b83b31e",
17
17
  "repository": "local-maven-repo"
18
18
  }
19
19
  }
@@ -115,6 +115,7 @@ struct AppleMapsViewiOS17: View, AppleMapsViewProtocol {
115
115
  .onMapCameraChange(frequency: .onEnd) { context in
116
116
  let cameraPosition = context.region.center
117
117
  let longitudeDelta = context.region.span.longitudeDelta
118
+ let latitudeDelta = context.region.span.latitudeDelta
118
119
  let zoomLevel = log2(360 / longitudeDelta)
119
120
 
120
121
  props.onCameraMove([
@@ -122,6 +123,8 @@ struct AppleMapsViewiOS17: View, AppleMapsViewProtocol {
122
123
  "latitude": cameraPosition.latitude,
123
124
  "longitude": cameraPosition.longitude
124
125
  ],
126
+ "longitudeDelta": longitudeDelta,
127
+ "latitudeDelta": latitudeDelta,
125
128
  "zoom": zoomLevel,
126
129
  "tilt": context.camera.pitch,
127
130
  "bearing": context.camera.heading
@@ -202,6 +202,7 @@ struct AppleMapsViewiOS18: View, AppleMapsViewProtocol {
202
202
  .onMapCameraChange(frequency: .onEnd) { context in
203
203
  let cameraPosition = context.region.center
204
204
  let longitudeDelta = context.region.span.longitudeDelta
205
+ let latitudeDelta = context.region.span.latitudeDelta
205
206
  let zoomLevel = log2(360 / longitudeDelta)
206
207
 
207
208
  props.onCameraMove([
@@ -209,6 +210,8 @@ struct AppleMapsViewiOS18: View, AppleMapsViewProtocol {
209
210
  "latitude": cameraPosition.latitude,
210
211
  "longitude": cameraPosition.longitude
211
212
  ],
213
+ "longitudeDelta": longitudeDelta,
214
+ "latitudeDelta": latitudeDelta,
212
215
  "zoom": zoomLevel,
213
216
  "tilt": context.camera.pitch,
214
217
  "bearing": context.camera.heading
@@ -0,0 +1 @@
1
+ acab3d20cac89b0ca6a622c96c260ef5fcd47f7c7c3bcf7f4dd2c723d0c88182390e80929ed4eb2da79a68ca8dca3ef51afada3e3ac1a632213ead5b01d84108
@@ -0,0 +1 @@
1
+ d94ca3eaebd38cff2ea49b149e20f08d90aa2b3d600137bc446304a5974c0d74209f1314b921699e29dc041b60cfa1fbc3182651afcd4288355b8e1982ecea5b
@@ -3,14 +3,14 @@
3
3
  "component": {
4
4
  "group": "host.exp.exponent",
5
5
  "module": "expo.modules.maps",
6
- "version": "0.12.10",
6
+ "version": "0.13.0-canary-20251223-b83b31e",
7
7
  "attributes": {
8
8
  "org.gradle.status": "release"
9
9
  }
10
10
  },
11
11
  "createdBy": {
12
12
  "gradle": {
13
- "version": "8.14.3"
13
+ "version": "9.0.0"
14
14
  }
15
15
  },
16
16
  "variants": [
@@ -24,13 +24,13 @@
24
24
  },
25
25
  "files": [
26
26
  {
27
- "name": "expo.modules.maps-0.12.10.aar",
28
- "url": "expo.modules.maps-0.12.10.aar",
29
- "size": 111342,
30
- "sha512": "866f0e3fa1d8ce07699c4ba25af9a592956c8577363cab3d0dfb286fc31b4fe23b51f4e1eec4e65a25fd5143c6bf9c308f826c6bc60e4df5700a66a33951747b",
31
- "sha256": "65af874bb65bb0538887adaae9f83b9f3d6eabacfd7f39d08723944ab3cb82ee",
32
- "sha1": "7a4ab14c8057897c9ba2c099875d404d5c3242ce",
33
- "md5": "cc52c7638a79130d0881e90395631876"
27
+ "name": "expo.modules.maps-0.13.0-canary-20251223-b83b31e.aar",
28
+ "url": "expo.modules.maps-0.13.0-canary-20251223-b83b31e.aar",
29
+ "size": 111636,
30
+ "sha512": "d94ca3eaebd38cff2ea49b149e20f08d90aa2b3d600137bc446304a5974c0d74209f1314b921699e29dc041b60cfa1fbc3182651afcd4288355b8e1982ecea5b",
31
+ "sha256": "d49fd7ca2dcd2e24e84d25084ebcf9ad13864d5c59775967eb3794492494c24d",
32
+ "sha1": "4948927b0a9c0c795d8ef283161d5b1570589961",
33
+ "md5": "a96e11be97bbd624bc754c77790a4aaf"
34
34
  }
35
35
  ]
36
36
  },
@@ -54,61 +54,61 @@
54
54
  "group": "androidx.compose.foundation",
55
55
  "module": "foundation-android",
56
56
  "version": {
57
- "requires": "1.7.6"
57
+ "requires": "1.9.1"
58
58
  }
59
59
  },
60
60
  {
61
61
  "group": "androidx.compose.ui",
62
62
  "module": "ui-android",
63
63
  "version": {
64
- "requires": "1.7.6"
64
+ "requires": "1.9.1"
65
65
  }
66
66
  },
67
67
  {
68
68
  "group": "androidx.compose.material3",
69
69
  "module": "material3",
70
70
  "version": {
71
- "requires": "1.3.1"
71
+ "requires": "1.3.2"
72
72
  }
73
73
  },
74
74
  {
75
75
  "group": "androidx.lifecycle",
76
76
  "module": "lifecycle-runtime",
77
77
  "version": {
78
- "requires": "2.8.7"
78
+ "requires": "2.9.3"
79
79
  }
80
80
  },
81
81
  {
82
82
  "group": "androidx.fragment",
83
83
  "module": "fragment-ktx",
84
84
  "version": {
85
- "requires": "1.8.5"
85
+ "requires": "1.8.9"
86
86
  }
87
87
  },
88
88
  {
89
89
  "group": "androidx.compose.material3",
90
90
  "module": "material3-android",
91
91
  "version": {
92
- "requires": "1.3.1"
92
+ "requires": "1.3.2"
93
93
  }
94
94
  },
95
95
  {
96
96
  "group": "com.google.maps.android",
97
97
  "module": "maps-compose",
98
98
  "version": {
99
- "requires": "6.6.0"
99
+ "requires": "6.10.0"
100
100
  }
101
101
  }
102
102
  ],
103
103
  "files": [
104
104
  {
105
- "name": "expo.modules.maps-0.12.10.aar",
106
- "url": "expo.modules.maps-0.12.10.aar",
107
- "size": 111342,
108
- "sha512": "866f0e3fa1d8ce07699c4ba25af9a592956c8577363cab3d0dfb286fc31b4fe23b51f4e1eec4e65a25fd5143c6bf9c308f826c6bc60e4df5700a66a33951747b",
109
- "sha256": "65af874bb65bb0538887adaae9f83b9f3d6eabacfd7f39d08723944ab3cb82ee",
110
- "sha1": "7a4ab14c8057897c9ba2c099875d404d5c3242ce",
111
- "md5": "cc52c7638a79130d0881e90395631876"
105
+ "name": "expo.modules.maps-0.13.0-canary-20251223-b83b31e.aar",
106
+ "url": "expo.modules.maps-0.13.0-canary-20251223-b83b31e.aar",
107
+ "size": 111636,
108
+ "sha512": "d94ca3eaebd38cff2ea49b149e20f08d90aa2b3d600137bc446304a5974c0d74209f1314b921699e29dc041b60cfa1fbc3182651afcd4288355b8e1982ecea5b",
109
+ "sha256": "d49fd7ca2dcd2e24e84d25084ebcf9ad13864d5c59775967eb3794492494c24d",
110
+ "sha1": "4948927b0a9c0c795d8ef283161d5b1570589961",
111
+ "md5": "a96e11be97bbd624bc754c77790a4aaf"
112
112
  }
113
113
  ]
114
114
  },
@@ -122,13 +122,13 @@
122
122
  },
123
123
  "files": [
124
124
  {
125
- "name": "expo.modules.maps-0.12.10-sources.jar",
126
- "url": "expo.modules.maps-0.12.10-sources.jar",
127
- "size": 8276,
128
- "sha512": "5be0075106e0958cc8d755d23e5bc90bc04c328810e586c87cdba859ae74f376a4a2ccbec2ba36ee3da6a01cf899bf58ceafbdffdcade6e973d59fc1d971b8b8",
129
- "sha256": "a87cec2f358cb2dcb7b8cbff84767e465ff0b8956b416c975a6bb66deae798ea",
130
- "sha1": "ff17fce545c6dcde41c5e97e86ac27e9ac364907",
131
- "md5": "3b86466080a68f14090b408bd3d2f60f"
125
+ "name": "expo.modules.maps-0.13.0-canary-20251223-b83b31e-sources.jar",
126
+ "url": "expo.modules.maps-0.13.0-canary-20251223-b83b31e-sources.jar",
127
+ "size": 8287,
128
+ "sha512": "acab3d20cac89b0ca6a622c96c260ef5fcd47f7c7c3bcf7f4dd2c723d0c88182390e80929ed4eb2da79a68ca8dca3ef51afada3e3ac1a632213ead5b01d84108",
129
+ "sha256": "7a528f289495cf5b64928af7652185ad964497cc90eee39d2c446e9eb3438d80",
130
+ "sha1": "88c47e567c190011a0b71d99780df8161b07cc76",
131
+ "md5": "bc0fb77cb67168641699263869d010d3"
132
132
  }
133
133
  ]
134
134
  }
@@ -0,0 +1 @@
1
+ 7a26ab644c90764ad2000964a5de0142d855ec8a64fb82f6cfdd18bf1c73c4825038a5de75762682805bb819d710ae2dd4e63e332dfa79cc8d140d82baf2448d
@@ -9,7 +9,7 @@
9
9
  <modelVersion>4.0.0</modelVersion>
10
10
  <groupId>host.exp.exponent</groupId>
11
11
  <artifactId>expo.modules.maps</artifactId>
12
- <version>0.12.10</version>
12
+ <version>0.13.0-canary-20251223-b83b31e</version>
13
13
  <packaging>aar</packaging>
14
14
  <name>expo.modules.maps</name>
15
15
  <url>https://github.com/expo/expo</url>
@@ -34,43 +34,43 @@
34
34
  <dependency>
35
35
  <groupId>androidx.compose.foundation</groupId>
36
36
  <artifactId>foundation-android</artifactId>
37
- <version>1.7.6</version>
37
+ <version>1.9.1</version>
38
38
  <scope>runtime</scope>
39
39
  </dependency>
40
40
  <dependency>
41
41
  <groupId>androidx.compose.ui</groupId>
42
42
  <artifactId>ui-android</artifactId>
43
- <version>1.7.6</version>
43
+ <version>1.9.1</version>
44
44
  <scope>runtime</scope>
45
45
  </dependency>
46
46
  <dependency>
47
47
  <groupId>androidx.compose.material3</groupId>
48
48
  <artifactId>material3</artifactId>
49
- <version>1.3.1</version>
49
+ <version>1.3.2</version>
50
50
  <scope>runtime</scope>
51
51
  </dependency>
52
52
  <dependency>
53
53
  <groupId>androidx.lifecycle</groupId>
54
54
  <artifactId>lifecycle-runtime</artifactId>
55
- <version>2.8.7</version>
55
+ <version>2.9.3</version>
56
56
  <scope>runtime</scope>
57
57
  </dependency>
58
58
  <dependency>
59
59
  <groupId>androidx.fragment</groupId>
60
60
  <artifactId>fragment-ktx</artifactId>
61
- <version>1.8.5</version>
61
+ <version>1.8.9</version>
62
62
  <scope>runtime</scope>
63
63
  </dependency>
64
64
  <dependency>
65
65
  <groupId>androidx.compose.material3</groupId>
66
66
  <artifactId>material3-android</artifactId>
67
- <version>1.3.1</version>
67
+ <version>1.3.2</version>
68
68
  <scope>runtime</scope>
69
69
  </dependency>
70
70
  <dependency>
71
71
  <groupId>com.google.maps.android</groupId>
72
72
  <artifactId>maps-compose</artifactId>
73
- <version>6.6.0</version>
73
+ <version>6.10.0</version>
74
74
  <scope>runtime</scope>
75
75
  </dependency>
76
76
  </dependencies>
@@ -0,0 +1 @@
1
+ 4e35d38d0408a2d2afecd1edba990063f3a0c32fa0dbe5f09fdb0d71194f0e2a14b8ac5c9ee29a3f25519463ea8b004a5e73734af05ecc68df2b5ec87915f427
@@ -3,11 +3,11 @@
3
3
  <groupId>host.exp.exponent</groupId>
4
4
  <artifactId>expo.modules.maps</artifactId>
5
5
  <versioning>
6
- <latest>0.12.10</latest>
7
- <release>0.12.10</release>
6
+ <latest>0.13.0-canary-20251223-b83b31e</latest>
7
+ <release>0.13.0-canary-20251223-b83b31e</release>
8
8
  <versions>
9
- <version>0.12.10</version>
9
+ <version>0.13.0-canary-20251223-b83b31e</version>
10
10
  </versions>
11
- <lastUpdated>20251218114143</lastUpdated>
11
+ <lastUpdated>20251223153357</lastUpdated>
12
12
  </versioning>
13
13
  </metadata>
@@ -1 +1 @@
1
- f5258938e5255c12ca49589b4be178e2
1
+ 5bd38e0505785140ebf9a4c6d4817e11
@@ -1 +1 @@
1
- fe2fbc4b8681f9a23466038121a049c7f9cb1f97
1
+ 3e4b15a22845474d05581234afbb6f4ba3c80164
@@ -1 +1 @@
1
- a31494c1e53049c80e2a7f6fa1a778e39ba53a5b0d47f336fbd47a88455ad229
1
+ c1c25918ce7294532f4a5e7ba8719bb48dc0b072813f6211cc84ac080b193fa9
@@ -1 +1 @@
1
- af7d5a7a53c947a4c6accc06680f686896a4e9b997a3c812776a78de092df5faae3e5b444ef857055cd6a6d8b9f788bcf5f4b0773730466c5dd814205e49661d
1
+ 09a124e81cfe4aa9ee46899b5f62ab2507694728eaa407dbdb755f6ae880a5f0bec15217e42220d95f3cdc91403209bde54f8884863334221ffa9981f8de66e2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-maps",
3
- "version": "0.12.10",
3
+ "version": "0.13.0-canary-20251223-b83b31e",
4
4
  "description": "Provides a Map component that uses Google Maps on Android and Apple Maps on iOS.",
5
5
  "main": "src/index.ts",
6
6
  "types": "build/index.d.ts",
@@ -28,13 +28,12 @@
28
28
  "license": "MIT",
29
29
  "dependencies": {},
30
30
  "devDependencies": {
31
- "@types/react": "~19.1.10",
32
- "expo-module-scripts": "^5.0.8"
31
+ "@types/react": "~19.2.0",
32
+ "expo-module-scripts": "5.1.0-canary-20251223-b83b31e"
33
33
  },
34
34
  "peerDependencies": {
35
- "expo": "*",
35
+ "expo": "55.0.0-canary-20251223-b83b31e",
36
36
  "react": "*",
37
37
  "react-native": "*"
38
- },
39
- "gitHead": "309f8dc09d24203fb80eca0ad534106c5f73c4b7"
38
+ }
40
39
  }
@@ -493,6 +493,8 @@ export type AppleMapsViewProps = {
493
493
  */
494
494
  onCameraMove?: (event: {
495
495
  coordinates: Coordinates;
496
+ latitudeDelta: number;
497
+ longitudeDelta: number;
496
498
  zoom: number;
497
499
  tilt: number;
498
500
  bearing: number;
@@ -1 +0,0 @@
1
- a87cec2f358cb2dcb7b8cbff84767e465ff0b8956b416c975a6bb66deae798ea
@@ -1 +0,0 @@
1
- 5be0075106e0958cc8d755d23e5bc90bc04c328810e586c87cdba859ae74f376a4a2ccbec2ba36ee3da6a01cf899bf58ceafbdffdcade6e973d59fc1d971b8b8
@@ -1 +0,0 @@
1
- 7a4ab14c8057897c9ba2c099875d404d5c3242ce
@@ -1 +0,0 @@
1
- 65af874bb65bb0538887adaae9f83b9f3d6eabacfd7f39d08723944ab3cb82ee
@@ -1 +0,0 @@
1
- 866f0e3fa1d8ce07699c4ba25af9a592956c8577363cab3d0dfb286fc31b4fe23b51f4e1eec4e65a25fd5143c6bf9c308f826c6bc60e4df5700a66a33951747b
@@ -1 +0,0 @@
1
- 139cd0c2defcf96b85de02b581a5fd94ebb0f4aa
@@ -1 +0,0 @@
1
- 4a99532bdfb985f1808f09c9729b18e0e1d6e56cae48b42df068e40e610bf405
@@ -1 +0,0 @@
1
- b4eddb741bf0618d9b3750b6f258d1be798cb17daa27d8badcba5c74a907478492edbbca05658a571bb85b8e95b128558a1a842d16c40290bdd090ed3aba4d92
@@ -1 +0,0 @@
1
- 462fe841ddc573ed801cfac3a616078e99a07dd0
@@ -1 +0,0 @@
1
- 4b5fa7ca1fb4fe92a449c016d6764b47e634e854873d717546215cd4a4c3c34d
@@ -1 +0,0 @@
1
- ee22e1f3f51e9b5457ea6a8a7ee802c5c5fb9b0189275d3b95ac16d037583eb7fa64476bfc0d88ad074a38eaf9cf4d8302c0af94d9255012ede24d71f4c922ff