expo-maps 55.0.17 → 55.0.18

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 (63) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/android/build.gradle +2 -2
  3. package/android/src/main/java/expo/modules/maps/GoogleMapsView.kt +10 -2
  4. package/android/src/main/java/expo/modules/maps/Records.kt +7 -1
  5. package/build/apple/AppleMaps.types.d.ts +3 -9
  6. package/build/apple/AppleMaps.types.d.ts.map +1 -1
  7. package/build/apple/AppleMaps.types.js.map +1 -1
  8. package/build/google/GoogleMaps.types.d.ts +3 -7
  9. package/build/google/GoogleMaps.types.d.ts.map +1 -1
  10. package/build/google/GoogleMaps.types.js.map +1 -1
  11. package/build/shared.types.d.ts +29 -0
  12. package/build/shared.types.d.ts.map +1 -1
  13. package/build/shared.types.js.map +1 -1
  14. package/expo-module.config.json +1 -1
  15. package/local-maven-repo/host/exp/exponent/expo.modules.maps/55.0.18/expo.modules.maps-55.0.18-sources.jar +0 -0
  16. package/local-maven-repo/host/exp/exponent/expo.modules.maps/55.0.18/expo.modules.maps-55.0.18-sources.jar.md5 +1 -0
  17. package/local-maven-repo/host/exp/exponent/expo.modules.maps/55.0.18/expo.modules.maps-55.0.18-sources.jar.sha1 +1 -0
  18. package/local-maven-repo/host/exp/exponent/expo.modules.maps/55.0.18/expo.modules.maps-55.0.18-sources.jar.sha256 +1 -0
  19. package/local-maven-repo/host/exp/exponent/expo.modules.maps/55.0.18/expo.modules.maps-55.0.18-sources.jar.sha512 +1 -0
  20. package/local-maven-repo/host/exp/exponent/expo.modules.maps/55.0.18/expo.modules.maps-55.0.18.aar +0 -0
  21. package/local-maven-repo/host/exp/exponent/expo.modules.maps/55.0.18/expo.modules.maps-55.0.18.aar.md5 +1 -0
  22. package/local-maven-repo/host/exp/exponent/expo.modules.maps/55.0.18/expo.modules.maps-55.0.18.aar.sha1 +1 -0
  23. package/local-maven-repo/host/exp/exponent/expo.modules.maps/55.0.18/expo.modules.maps-55.0.18.aar.sha256 +1 -0
  24. package/local-maven-repo/host/exp/exponent/expo.modules.maps/55.0.18/expo.modules.maps-55.0.18.aar.sha512 +1 -0
  25. package/local-maven-repo/host/exp/exponent/expo.modules.maps/{55.0.17/expo.modules.maps-55.0.17.module → 55.0.18/expo.modules.maps-55.0.18.module} +22 -22
  26. package/local-maven-repo/host/exp/exponent/expo.modules.maps/55.0.18/expo.modules.maps-55.0.18.module.md5 +1 -0
  27. package/local-maven-repo/host/exp/exponent/expo.modules.maps/55.0.18/expo.modules.maps-55.0.18.module.sha1 +1 -0
  28. package/local-maven-repo/host/exp/exponent/expo.modules.maps/55.0.18/expo.modules.maps-55.0.18.module.sha256 +1 -0
  29. package/local-maven-repo/host/exp/exponent/expo.modules.maps/55.0.18/expo.modules.maps-55.0.18.module.sha512 +1 -0
  30. package/local-maven-repo/host/exp/exponent/expo.modules.maps/{55.0.17/expo.modules.maps-55.0.17.pom → 55.0.18/expo.modules.maps-55.0.18.pom} +1 -1
  31. package/local-maven-repo/host/exp/exponent/expo.modules.maps/55.0.18/expo.modules.maps-55.0.18.pom.md5 +1 -0
  32. package/local-maven-repo/host/exp/exponent/expo.modules.maps/55.0.18/expo.modules.maps-55.0.18.pom.sha1 +1 -0
  33. package/local-maven-repo/host/exp/exponent/expo.modules.maps/55.0.18/expo.modules.maps-55.0.18.pom.sha256 +1 -0
  34. package/local-maven-repo/host/exp/exponent/expo.modules.maps/55.0.18/expo.modules.maps-55.0.18.pom.sha512 +1 -0
  35. package/local-maven-repo/host/exp/exponent/expo.modules.maps/maven-metadata.xml +4 -4
  36. package/local-maven-repo/host/exp/exponent/expo.modules.maps/maven-metadata.xml.md5 +1 -1
  37. package/local-maven-repo/host/exp/exponent/expo.modules.maps/maven-metadata.xml.sha1 +1 -1
  38. package/local-maven-repo/host/exp/exponent/expo.modules.maps/maven-metadata.xml.sha256 +1 -1
  39. package/local-maven-repo/host/exp/exponent/expo.modules.maps/maven-metadata.xml.sha512 +1 -1
  40. package/package.json +2 -2
  41. package/prebuilds/output/debug/xcframeworks/ExpoMaps.tar.gz +0 -0
  42. package/prebuilds/output/release/xcframeworks/ExpoMaps.tar.gz +0 -0
  43. package/src/apple/AppleMaps.types.ts +3 -9
  44. package/src/google/GoogleMaps.types.ts +3 -7
  45. package/src/shared.types.ts +35 -0
  46. package/local-maven-repo/host/exp/exponent/expo.modules.maps/55.0.17/expo.modules.maps-55.0.17-sources.jar +0 -0
  47. package/local-maven-repo/host/exp/exponent/expo.modules.maps/55.0.17/expo.modules.maps-55.0.17-sources.jar.md5 +0 -1
  48. package/local-maven-repo/host/exp/exponent/expo.modules.maps/55.0.17/expo.modules.maps-55.0.17-sources.jar.sha1 +0 -1
  49. package/local-maven-repo/host/exp/exponent/expo.modules.maps/55.0.17/expo.modules.maps-55.0.17-sources.jar.sha256 +0 -1
  50. package/local-maven-repo/host/exp/exponent/expo.modules.maps/55.0.17/expo.modules.maps-55.0.17-sources.jar.sha512 +0 -1
  51. package/local-maven-repo/host/exp/exponent/expo.modules.maps/55.0.17/expo.modules.maps-55.0.17.aar +0 -0
  52. package/local-maven-repo/host/exp/exponent/expo.modules.maps/55.0.17/expo.modules.maps-55.0.17.aar.md5 +0 -1
  53. package/local-maven-repo/host/exp/exponent/expo.modules.maps/55.0.17/expo.modules.maps-55.0.17.aar.sha1 +0 -1
  54. package/local-maven-repo/host/exp/exponent/expo.modules.maps/55.0.17/expo.modules.maps-55.0.17.aar.sha256 +0 -1
  55. package/local-maven-repo/host/exp/exponent/expo.modules.maps/55.0.17/expo.modules.maps-55.0.17.aar.sha512 +0 -1
  56. package/local-maven-repo/host/exp/exponent/expo.modules.maps/55.0.17/expo.modules.maps-55.0.17.module.md5 +0 -1
  57. package/local-maven-repo/host/exp/exponent/expo.modules.maps/55.0.17/expo.modules.maps-55.0.17.module.sha1 +0 -1
  58. package/local-maven-repo/host/exp/exponent/expo.modules.maps/55.0.17/expo.modules.maps-55.0.17.module.sha256 +0 -1
  59. package/local-maven-repo/host/exp/exponent/expo.modules.maps/55.0.17/expo.modules.maps-55.0.17.module.sha512 +0 -1
  60. package/local-maven-repo/host/exp/exponent/expo.modules.maps/55.0.17/expo.modules.maps-55.0.17.pom.md5 +0 -1
  61. package/local-maven-repo/host/exp/exponent/expo.modules.maps/55.0.17/expo.modules.maps-55.0.17.pom.sha1 +0 -1
  62. package/local-maven-repo/host/exp/exponent/expo.modules.maps/55.0.17/expo.modules.maps-55.0.17.pom.sha256 +0 -1
  63. package/local-maven-repo/host/exp/exponent/expo.modules.maps/55.0.17/expo.modules.maps-55.0.17.pom.sha512 +0 -1
package/CHANGELOG.md CHANGED
@@ -10,6 +10,16 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 55.0.18 — 2026-05-13
14
+
15
+ ### 🎉 New features
16
+
17
+ - [android] Add `latitudeDelta` and `longitudeDelta` to `onCameraMove` event payload. ([#45327](https://github.com/expo/expo/pull/45327) by [@nishan](https://github.com/intergalacticspacehighway))
18
+
19
+ ### 🐛 Bug fixes
20
+
21
+ - [android] Trigger `onCameraMove` on initial mount when map is ready. ([#45327](https://github.com/expo/expo/pull/45327) by [@nishan](https://github.com/intergalacticspacehighway))
22
+
13
23
  ## 55.0.17 — 2026-05-05
14
24
 
15
25
  _This version does not introduce any user-facing changes._
@@ -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 = '55.0.17'
17
+ version = '55.0.18'
18
18
 
19
19
  android {
20
20
  namespace "expo.modules.maps"
21
21
  defaultConfig {
22
22
  versionCode 1
23
- versionName "55.0.17"
23
+ versionName "55.0.18"
24
24
  }
25
25
  buildFeatures {
26
26
  compose true
@@ -237,19 +237,27 @@ class GoogleMapsView(context: Context, appContext: AppContext) :
237
237
  }
238
238
  }
239
239
 
240
- LaunchedEffect(cameraState.position) {
240
+ LaunchedEffect(cameraState.position, wasLoaded.value) {
241
241
  // We don't want to send the event when the map is not loaded yet
242
242
  if (!wasLoaded.value) {
243
243
  return@LaunchedEffect
244
244
  }
245
245
 
246
246
  val position = cameraState.position
247
+ val bounds = cameraState.projection?.visibleRegion?.latLngBounds ?: return@LaunchedEffect
248
+ val latitudeDelta = bounds.northeast.latitude - bounds.southwest.latitude
249
+ val rawLongitudeDelta = bounds.northeast.longitude - bounds.southwest.longitude
250
+ // We need to subtract 360 from longitude delta when crossing the antimeridian to get the correct value
251
+ val longitudeDelta = if (rawLongitudeDelta < 0) rawLongitudeDelta + 360.0 else rawLongitudeDelta
252
+
247
253
  onCameraMove(
248
254
  CameraMoveEvent(
249
255
  Coordinates(position.target.latitude, position.target.longitude),
250
256
  position.zoom,
251
257
  position.tilt,
252
- position.bearing
258
+ position.bearing,
259
+ latitudeDelta,
260
+ longitudeDelta
253
261
  )
254
262
  )
255
263
  }
@@ -283,7 +283,13 @@ data class CameraMoveEvent(
283
283
  val tilt: Float,
284
284
 
285
285
  @Field
286
- val bearing: Float
286
+ val bearing: Float,
287
+
288
+ @Field
289
+ val latitudeDelta: Double,
290
+
291
+ @Field
292
+ val longitudeDelta: Double
287
293
  ) : Record
288
294
 
289
295
  data class MapClickEvent(
@@ -1,7 +1,7 @@
1
1
  import type { SharedRefType } from 'expo';
2
2
  import type { Ref } from 'react';
3
3
  import type { ProcessedColorValue, StyleProp, ViewStyle } from 'react-native';
4
- import { CameraPosition, Coordinates } from '../shared.types';
4
+ import type { CameraMoveEvent, CameraPosition, Coordinates } from '../shared.types';
5
5
  /**
6
6
  * @platform ios
7
7
  */
@@ -453,15 +453,9 @@ export type AppleMapsViewProps = {
453
453
  onCircleClick?: (event: AppleMapsCircle) => void;
454
454
  /**
455
455
  * Lambda invoked when the map was moved by the user.
456
+ * Also runs once on initial mount with the starting viewport.
456
457
  */
457
- onCameraMove?: (event: {
458
- coordinates: Coordinates;
459
- latitudeDelta: number;
460
- longitudeDelta: number;
461
- zoom: number;
462
- tilt: number;
463
- bearing: number;
464
- }) => void;
458
+ onCameraMove?: (event: CameraMoveEvent) => void;
465
459
  };
466
460
  /**
467
461
  * @platform ios
@@ -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,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9E,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAE9D;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;IAE1B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC;;;OAGG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB;;OAEG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAElC;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAE1B;;OAEG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B,CAAC;AAEF;;;GAGG;AACH,oBAAY,gBAAgB;IAC1B;;OAEG;IACH,MAAM,WAAW;IACjB;;OAEG;IACH,QAAQ,aAAa;IACrB;;OAEG;IACH,OAAO,YAAY;CACpB;AAED;;;GAGG;AACH,oBAAY,qBAAqB;IA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;IACvB,oEAAiC,CAAA;IACjC,wDAAqB,CAAA;IACrB,kDAAe,CAAA;IACf,4DAAyB,CAAA;IACzB,4DAAyB,CAAA;IACzB,oDAAiB,CAAA;IACjB,kEAA+B,CAAA;IAC/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 * This is mutually exclusive with `monogram`. If both are provided, `systemImage` takes precedence.\n */\n systemImage?: string;\n\n /**\n * A short text (typically initials or 1-2 characters) to display on the marker balloon.\n * This is mutually exclusive with `systemImage`. If both are provided, `systemImage` takes precedence.\n * @platform ios 17.0+\n */\n monogram?: 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 * Controls the color scheme (appearance) of the map.\n * @platform ios\n */\nexport enum AppleMapsColorScheme {\n /**\n * The map follows the app's color scheme (light/dark mode).\n */\n AUTOMATIC = 'AUTOMATIC',\n /**\n * The map is always displayed in light mode.\n */\n LIGHT = 'LIGHT',\n /**\n * The map is always displayed in dark mode.\n */\n DARK = 'DARK',\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 * Controls the color scheme (appearance) of the map.\n * Use this to force the map to display in light or dark mode.\n * @default AppleMapsColorScheme.AUTOMATIC\n */\n colorScheme?: AppleMapsColorScheme;\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 annotation is clicked.\n * @platform ios 18.0+\n */\n onAnnotationClick?: (event: AppleMapsAnnotation) => 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 /**\n * Programmatically select a marker by its ID.\n * @platform ios 18.0+\n *\n * @param id The ID of the marker to select, or `undefined` to clear selection.\n * @param options Optional configuration for the selection.\n * @param options.zoom The zoom level to use when animating to the selected item.\n * @param options.moveCamera Whether to animate the camera to the selected item. When `false`, the camera will not move at all. Defaults to `true`.\n */\n selectMarker: (id?: string, options?: { zoom?: number; moveCamera?: boolean }) => void;\n\n /**\n * Programmatically select an annotation by its ID.\n * @platform ios 18.0+\n *\n * @param id The ID of the annotation to select, or `undefined` to clear selection.\n * @param options Optional configuration for the selection.\n * @param options.zoom The zoom level to use when animating to the selected item.\n * @param options.moveCamera Whether to animate the camera to the selected item. When `false`, the camera will not move at all. Defaults to `true`.\n */\n selectAnnotation: (id?: string, options?: { zoom?: number; moveCamera?: boolean }) => void;\n};\n"]}
1
+ {"version":3,"file":"AppleMaps.types.js","sourceRoot":"","sources":["../../src/apple/AppleMaps.types.ts"],"names":[],"mappings":"AAsEA;;;GAGG;AACH,MAAM,CAAN,IAAY,gBAaX;AAbD,WAAY,gBAAgB;IAC1B;;OAEG;IACH,qCAAiB,CAAA;IACjB;;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C,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 type { CameraMoveEvent, 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 * This is mutually exclusive with `monogram`. If both are provided, `systemImage` takes precedence.\n */\n systemImage?: string;\n\n /**\n * A short text (typically initials or 1-2 characters) to display on the marker balloon.\n * This is mutually exclusive with `systemImage`. If both are provided, `systemImage` takes precedence.\n * @platform ios 17.0+\n */\n monogram?: 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 * Controls the color scheme (appearance) of the map.\n * @platform ios\n */\nexport enum AppleMapsColorScheme {\n /**\n * The map follows the app's color scheme (light/dark mode).\n */\n AUTOMATIC = 'AUTOMATIC',\n /**\n * The map is always displayed in light mode.\n */\n LIGHT = 'LIGHT',\n /**\n * The map is always displayed in dark mode.\n */\n DARK = 'DARK',\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 * Controls the color scheme (appearance) of the map.\n * Use this to force the map to display in light or dark mode.\n * @default AppleMapsColorScheme.AUTOMATIC\n */\n colorScheme?: AppleMapsColorScheme;\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 annotation is clicked.\n * @platform ios 18.0+\n */\n onAnnotationClick?: (event: AppleMapsAnnotation) => 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 * Also runs once on initial mount with the starting viewport.\n */\n onCameraMove?: (event: CameraMoveEvent) => 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 /**\n * Programmatically select a marker by its ID.\n * @platform ios 18.0+\n *\n * @param id The ID of the marker to select, or `undefined` to clear selection.\n * @param options Optional configuration for the selection.\n * @param options.zoom The zoom level to use when animating to the selected item.\n * @param options.moveCamera Whether to animate the camera to the selected item. When `false`, the camera will not move at all. Defaults to `true`.\n */\n selectMarker: (id?: string, options?: { zoom?: number; moveCamera?: boolean }) => void;\n\n /**\n * Programmatically select an annotation by its ID.\n * @platform ios 18.0+\n *\n * @param id The ID of the annotation to select, or `undefined` to clear selection.\n * @param options Optional configuration for the selection.\n * @param options.zoom The zoom level to use when animating to the selected item.\n * @param options.moveCamera Whether to animate the camera to the selected item. When `false`, the camera will not move at all. Defaults to `true`.\n */\n selectAnnotation: (id?: string, options?: { zoom?: number; moveCamera?: boolean }) => void;\n};\n"]}
@@ -1,7 +1,7 @@
1
1
  import type { SharedRefType } from 'expo';
2
2
  import type { Ref } from 'react';
3
3
  import type { ProcessedColorValue, StyleProp, ViewStyle } from 'react-native';
4
- import { CameraPosition, Coordinates } from '../shared.types';
4
+ import type { CameraMoveEvent, CameraPosition, Coordinates } from '../shared.types';
5
5
  /**
6
6
  * @platform android
7
7
  */
@@ -413,13 +413,9 @@ export type GoogleMapsViewProps = {
413
413
  onCircleClick?: (event: GoogleMapsCircle) => void;
414
414
  /**
415
415
  * Lambda invoked when the map was moved by the user.
416
+ * Also runs once on initial mount with the starting viewport.
416
417
  */
417
- onCameraMove?: (event: {
418
- coordinates: Coordinates;
419
- zoom: number;
420
- tilt: number;
421
- bearing: number;
422
- }) => void;
418
+ onCameraMove?: (event: CameraMoveEvent) => void;
423
419
  };
424
420
  /**
425
421
  * @platform android
@@ -1 +1 @@
1
- {"version":3,"file":"GoogleMaps.types.d.ts","sourceRoot":"","sources":["../../src/google/GoogleMaps.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,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9E,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;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Aa,CAAA;IACb,wDAA+B,CAAA;AACjC,CAAC,EAJW,qBAAqB,KAArB,qBAAqB,QAIhC","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 android\n */\nexport type GoogleMapsAnchor = {\n /**\n * The normalized horizontal anchor point from 0.0 (left edge) to 1.0 (right edge).\n */\n x: number;\n\n /**\n * The normalized vertical anchor point from 0.0 (top edge) to 1.0 (bottom edge).\n */\n y: number;\n};\n\n/**\n * @platform android\n */\nexport type GoogleMapsMarker = {\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 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 snippet of the marker, displayed in the callout when the marker is clicked.\n */\n snippet?: string;\n\n /**\n * Whether the marker is draggable.\n */\n draggable?: boolean;\n\n /**\n * Whether the callout should be shown when the marker is clicked.\n */\n showCallout?: boolean;\n\n /**\n * The custom icon to display for the marker.\n */\n icon?: SharedRefType<'image'>;\n\n /**\n * The anchor used to position the anchor relative to its coordinates.\n * @default bottom-center of the icon\n */\n anchor?: GoogleMapsAnchor;\n\n /**\n * The z-index to use for the marker.\n * @default 0\n */\n zIndex?: number;\n};\n\n/**\n * @platform android\n */\nexport type GoogleMapsPolyline = {\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 /**\n * The coordinates of the polyline.\n */\n coordinates: Coordinates[];\n\n /**\n * The color of the polyline.\n */\n color?: ProcessedColorValue | string;\n\n /**\n * The width of the polyline.\n */\n width?: number;\n\n /**\n * Whether the polyline is geodesic.\n */\n geodesic?: boolean;\n};\n\n/**\n * @platform android\n */\nexport type GoogleMapsCircle = {\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.\n */\n radius: number;\n\n /**\n * The color of the circle.\n */\n color?: ProcessedColorValue | string;\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 * The geographic coordinates of the click point on the map.\n */\n clickCoordinates?: Coordinates;\n};\n\n/**\n * @platform android\n */\nexport type GoogleMapsPolygon = {\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 android\n */\nexport type GoogleMapsContentPadding = {\n /**\n * In LTR contexts, `start` will be applied along the left edge. In RTL contexts, `start` will correspond to the right edge.\n */\n start?: number;\n\n /**\n * In LTR contexts, `end` will be applied along the right edge. In RTL contexts, `end` will correspond to the left edge.\n */\n end?: number;\n\n /**\n * The padding on the top side of the map.\n */\n top?: number;\n\n /**\n * The padding on the bottom side of the map.\n */\n bottom?: number;\n};\n\n/**\n * @platform android\n */\nexport type GoogleMapsUserLocation = {\n /**\n * User location coordinates.\n */\n coordinates: Coordinates;\n\n /**\n * Should the camera follow the users' location.\n */\n followUserLocation: boolean;\n};\n\n/**\n * @platform android\n */\nexport type GoogleMapsUISettings = {\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 indoor level picker is enabled .\n */\n indoorLevelPickerEnabled?: boolean;\n\n /**\n * Whether the map toolbar is visible.\n */\n mapToolbarEnabled?: boolean;\n\n /**\n * Whether the my location button is visible.\n */\n myLocationButtonEnabled?: boolean;\n\n /**\n * Whether rotate gestures are enabled.\n */\n rotationGesturesEnabled?: boolean;\n\n /**\n * Whether the scroll gestures are enabled.\n */\n scrollGesturesEnabled?: boolean;\n\n /**\n * Whether the scroll gestures are enabled during rotation or zoom.\n */\n scrollGesturesEnabledDuringRotateOrZoom?: boolean;\n\n /**\n * Whether the tilt gestures are enabled.\n */\n tiltGesturesEnabled?: boolean;\n\n /**\n * Whether the zoom controls are visible.\n */\n zoomControlsEnabled?: boolean;\n\n /**\n * Whether the zoom gestures are enabled.\n */\n zoomGesturesEnabled?: 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 android\n */\nexport enum GoogleMapsMapType {\n /**\n * Satellite imagery with roads and points of interest overlayed.\n */\n HYBRID = 'HYBRID',\n /**\n * Standard road map.\n */\n NORMAL = 'NORMAL',\n /**\n * Satellite imagery.\n */\n SATELLITE = 'SATELLITE',\n /**\n * Topographic data.\n */\n TERRAIN = 'TERRAIN',\n}\n\n/**\n * @platform android\n */\nexport type GoogleMapsMapStyleOptions = {\n /**\n * The JSON string of the map style options.\n * @see For creating map style options, see https://mapstyle.withgoogle.com/\n */\n json: string;\n};\n\n/**\n * @platform android\n */\nexport type GoogleMapsProperties = {\n /**\n * Whether the building layer is enabled on the map.\n */\n isBuildingEnabled?: boolean;\n\n /**\n * Whether the indoor layer is enabled on the map.\n */\n isIndoorEnabled?: boolean;\n\n /**\n * Whether finding the user's location is enabled on the map.\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?: GoogleMapsMapType;\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 zoom level for the map.\n */\n maxZoomPreference?: number;\n\n /**\n * The minimum zoom level for the map.\n */\n minZoomPreference?: number;\n\n /**\n * With style options you can customize the presentation of the standard Google map styles, changing the visual display of features like roads, parks, and other points of interest.\n */\n mapStyleOptions?: GoogleMapsMapStyleOptions;\n};\n\n/**\n * @platform android\n */\nexport enum GoogleMapsColorScheme {\n LIGHT = 'LIGHT',\n DARK = 'DARK',\n FOLLOW_SYSTEM = 'FOLLOW_SYSTEM',\n}\n\n/**\n * @platform android\n */\nexport type GoogleMapsMapOptions = {\n /**\n * A map ID is a unique identifier that represents Google Map styling and configuration settings that are stored in Google Cloud.\n * @see For more information, see https://developers.google.com/maps/documentation/android-sdk/map-ids/mapid-over\n */\n mapId?: string;\n};\n\n/**\n * @platform android\n */\nexport type GoogleMapsViewProps = {\n ref?: Ref<GoogleMapsViewType>;\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?: GoogleMapsMarker[];\n\n /**\n * The array of polylines to display on the map.\n */\n polylines?: GoogleMapsPolyline[];\n\n /**\n * The array of polygons to display on the map.\n */\n polygons?: GoogleMapsPolygon[];\n\n /**\n * The array of circles to display on the map.\n */\n circles?: GoogleMapsCircle[];\n\n /**\n * The `MapUiSettings` to be used for UI-specific settings on the map.\n */\n uiSettings?: GoogleMapsUISettings;\n\n /**\n * The properties for the map.\n */\n properties?: GoogleMapsProperties;\n\n /**\n * Defines configuration GoogleMapOptions for a GoogleMap\n */\n mapOptions?: GoogleMapsMapOptions;\n\n /**\n * Defines the color scheme for the map.\n */\n colorScheme?: GoogleMapsColorScheme;\n\n /**\n * User location, overrides default behavior.\n */\n userLocation?: GoogleMapsUserLocation;\n\n /**\n * The padding values used to signal that portions of the map around the edges may be obscured.\n * The map will move the Google logo, etc. to avoid overlapping the padding.\n */\n contentPadding?: GoogleMapsContentPadding;\n\n /**\n * Lambda invoked when the map is loaded.\n */\n onMapLoaded?: () => void;\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 user long presses on the map.\n */\n onMapLongClick?: (event: { coordinates: Coordinates }) => void;\n\n /**\n * Lambda invoked when a POI is clicked.\n */\n onPOIClick?: (event: { name: string; coordinates: Coordinates }) => void;\n\n /**\n * Lambda invoked when the marker is clicked\n */\n onMarkerClick?: (event: GoogleMapsMarker) => void;\n\n /**\n * Lambda invoked when the polyline is clicked.\n */\n onPolylineClick?: (event: GoogleMapsPolyline) => void;\n\n /**\n * Lambda invoked when the polygon is clicked.\n */\n onPolygonClick?: (event: GoogleMapsPolygon) => void;\n\n /**\n * Lambda invoked when the circle is clicked.\n */\n onCircleClick?: (event: GoogleMapsCircle) => 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 android\n */\nexport type SetCameraPositionConfig = CameraPosition & {\n /**\n * The duration of the animation in milliseconds.\n */\n duration?: number;\n};\n\n/**\n * @platform android\n */\nexport type GoogleMapsViewType = {\n /**\n * Update camera position.\n * @param config New camera position config.\n */\n setCameraPosition: (config?: SetCameraPositionConfig) => void;\n\n /**\n * This is an async operation that animates the camera to the marker. If called\n * rapidly, a previous animation may be cancelled, causing the returned promise to reject.\n *\n * @param id The ID of the marker to select, or `undefined` to clear selection.\n * @param options Optional configuration for the selection.\n * @param options.zoom The zoom level to use when animating to the selected marker.\n * @param options.moveCamera Whether to animate the camera to the selected marker. When `false`, the camera will not move at all. Defaults to `true`.\n */\n selectMarker: (id?: string, options?: { zoom?: number; moveCamera?: boolean }) => Promise<void>;\n};\n\n/**\n * @platform android\n */\nexport type StreetViewCameraPosition = {\n coordinates: Coordinates;\n zoom?: number;\n tilt?: number;\n bearing?: number;\n};\n\n/**\n * @platform android\n */\nexport type GoogleStreetViewProps = {\n style?: StyleProp<ViewStyle>;\n position: StreetViewCameraPosition;\n isPanningGesturesEnabled?: boolean;\n isStreetNamesEnabled?: boolean;\n isUserNavigationEnabled?: boolean;\n isZoomGesturesEnabled?: boolean;\n};\n"]}
1
+ {"version":3,"file":"GoogleMaps.types.js","sourceRoot":"","sources":["../../src/google/GoogleMaps.types.ts"],"names":[],"mappings":"AAuRA;;;GAGG;AACH,MAAM,CAAN,IAAY,iBAiBX;AAjBD,WAAY,iBAAiB;IAC3B;;OAEG;IACH,sCAAiB,CAAA;IACjB;;OAEG;IACH,sCAAiB,CAAA;IACjB;;OAEG;IACH,4CAAuB,CAAA;IACvB;;OAEG;IACH,wCAAmB,CAAA;AACrB,CAAC,EAjBW,iBAAiB,KAAjB,iBAAiB,QAiB5B;AA+DD;;GAEG;AACH,MAAM,CAAN,IAAY,qBAIX;AAJD,WAAY,qBAAqB;IAC/B,wCAAe,CAAA;IACf,sCAAa,CAAA;IACb,wDAA+B,CAAA;AACjC,CAAC,EAJW,qBAAqB,KAArB,qBAAqB,QAIhC","sourcesContent":["import type { SharedRefType } from 'expo';\nimport type { Ref } from 'react';\nimport type { ProcessedColorValue, StyleProp, ViewStyle } from 'react-native';\n\nimport type { CameraMoveEvent, CameraPosition, Coordinates } from '../shared.types';\n\n/**\n * @platform android\n */\nexport type GoogleMapsAnchor = {\n /**\n * The normalized horizontal anchor point from 0.0 (left edge) to 1.0 (right edge).\n */\n x: number;\n\n /**\n * The normalized vertical anchor point from 0.0 (top edge) to 1.0 (bottom edge).\n */\n y: number;\n};\n\n/**\n * @platform android\n */\nexport type GoogleMapsMarker = {\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 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 snippet of the marker, displayed in the callout when the marker is clicked.\n */\n snippet?: string;\n\n /**\n * Whether the marker is draggable.\n */\n draggable?: boolean;\n\n /**\n * Whether the callout should be shown when the marker is clicked.\n */\n showCallout?: boolean;\n\n /**\n * The custom icon to display for the marker.\n */\n icon?: SharedRefType<'image'>;\n\n /**\n * The anchor used to position the anchor relative to its coordinates.\n * @default bottom-center of the icon\n */\n anchor?: GoogleMapsAnchor;\n\n /**\n * The z-index to use for the marker.\n * @default 0\n */\n zIndex?: number;\n};\n\n/**\n * @platform android\n */\nexport type GoogleMapsPolyline = {\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 /**\n * The coordinates of the polyline.\n */\n coordinates: Coordinates[];\n\n /**\n * The color of the polyline.\n */\n color?: ProcessedColorValue | string;\n\n /**\n * The width of the polyline.\n */\n width?: number;\n\n /**\n * Whether the polyline is geodesic.\n */\n geodesic?: boolean;\n};\n\n/**\n * @platform android\n */\nexport type GoogleMapsCircle = {\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.\n */\n radius: number;\n\n /**\n * The color of the circle.\n */\n color?: ProcessedColorValue | string;\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 * The geographic coordinates of the click point on the map.\n */\n clickCoordinates?: Coordinates;\n};\n\n/**\n * @platform android\n */\nexport type GoogleMapsPolygon = {\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 android\n */\nexport type GoogleMapsContentPadding = {\n /**\n * In LTR contexts, `start` will be applied along the left edge. In RTL contexts, `start` will correspond to the right edge.\n */\n start?: number;\n\n /**\n * In LTR contexts, `end` will be applied along the right edge. In RTL contexts, `end` will correspond to the left edge.\n */\n end?: number;\n\n /**\n * The padding on the top side of the map.\n */\n top?: number;\n\n /**\n * The padding on the bottom side of the map.\n */\n bottom?: number;\n};\n\n/**\n * @platform android\n */\nexport type GoogleMapsUserLocation = {\n /**\n * User location coordinates.\n */\n coordinates: Coordinates;\n\n /**\n * Should the camera follow the users' location.\n */\n followUserLocation: boolean;\n};\n\n/**\n * @platform android\n */\nexport type GoogleMapsUISettings = {\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 indoor level picker is enabled .\n */\n indoorLevelPickerEnabled?: boolean;\n\n /**\n * Whether the map toolbar is visible.\n */\n mapToolbarEnabled?: boolean;\n\n /**\n * Whether the my location button is visible.\n */\n myLocationButtonEnabled?: boolean;\n\n /**\n * Whether rotate gestures are enabled.\n */\n rotationGesturesEnabled?: boolean;\n\n /**\n * Whether the scroll gestures are enabled.\n */\n scrollGesturesEnabled?: boolean;\n\n /**\n * Whether the scroll gestures are enabled during rotation or zoom.\n */\n scrollGesturesEnabledDuringRotateOrZoom?: boolean;\n\n /**\n * Whether the tilt gestures are enabled.\n */\n tiltGesturesEnabled?: boolean;\n\n /**\n * Whether the zoom controls are visible.\n */\n zoomControlsEnabled?: boolean;\n\n /**\n * Whether the zoom gestures are enabled.\n */\n zoomGesturesEnabled?: 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 android\n */\nexport enum GoogleMapsMapType {\n /**\n * Satellite imagery with roads and points of interest overlayed.\n */\n HYBRID = 'HYBRID',\n /**\n * Standard road map.\n */\n NORMAL = 'NORMAL',\n /**\n * Satellite imagery.\n */\n SATELLITE = 'SATELLITE',\n /**\n * Topographic data.\n */\n TERRAIN = 'TERRAIN',\n}\n\n/**\n * @platform android\n */\nexport type GoogleMapsMapStyleOptions = {\n /**\n * The JSON string of the map style options.\n * @see For creating map style options, see https://mapstyle.withgoogle.com/\n */\n json: string;\n};\n\n/**\n * @platform android\n */\nexport type GoogleMapsProperties = {\n /**\n * Whether the building layer is enabled on the map.\n */\n isBuildingEnabled?: boolean;\n\n /**\n * Whether the indoor layer is enabled on the map.\n */\n isIndoorEnabled?: boolean;\n\n /**\n * Whether finding the user's location is enabled on the map.\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?: GoogleMapsMapType;\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 zoom level for the map.\n */\n maxZoomPreference?: number;\n\n /**\n * The minimum zoom level for the map.\n */\n minZoomPreference?: number;\n\n /**\n * With style options you can customize the presentation of the standard Google map styles, changing the visual display of features like roads, parks, and other points of interest.\n */\n mapStyleOptions?: GoogleMapsMapStyleOptions;\n};\n\n/**\n * @platform android\n */\nexport enum GoogleMapsColorScheme {\n LIGHT = 'LIGHT',\n DARK = 'DARK',\n FOLLOW_SYSTEM = 'FOLLOW_SYSTEM',\n}\n\n/**\n * @platform android\n */\nexport type GoogleMapsMapOptions = {\n /**\n * A map ID is a unique identifier that represents Google Map styling and configuration settings that are stored in Google Cloud.\n * @see For more information, see https://developers.google.com/maps/documentation/android-sdk/map-ids/mapid-over\n */\n mapId?: string;\n};\n\n/**\n * @platform android\n */\nexport type GoogleMapsViewProps = {\n ref?: Ref<GoogleMapsViewType>;\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?: GoogleMapsMarker[];\n\n /**\n * The array of polylines to display on the map.\n */\n polylines?: GoogleMapsPolyline[];\n\n /**\n * The array of polygons to display on the map.\n */\n polygons?: GoogleMapsPolygon[];\n\n /**\n * The array of circles to display on the map.\n */\n circles?: GoogleMapsCircle[];\n\n /**\n * The `MapUiSettings` to be used for UI-specific settings on the map.\n */\n uiSettings?: GoogleMapsUISettings;\n\n /**\n * The properties for the map.\n */\n properties?: GoogleMapsProperties;\n\n /**\n * Defines configuration GoogleMapOptions for a GoogleMap\n */\n mapOptions?: GoogleMapsMapOptions;\n\n /**\n * Defines the color scheme for the map.\n */\n colorScheme?: GoogleMapsColorScheme;\n\n /**\n * User location, overrides default behavior.\n */\n userLocation?: GoogleMapsUserLocation;\n\n /**\n * The padding values used to signal that portions of the map around the edges may be obscured.\n * The map will move the Google logo, etc. to avoid overlapping the padding.\n */\n contentPadding?: GoogleMapsContentPadding;\n\n /**\n * Lambda invoked when the map is loaded.\n */\n onMapLoaded?: () => void;\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 user long presses on the map.\n */\n onMapLongClick?: (event: { coordinates: Coordinates }) => void;\n\n /**\n * Lambda invoked when a POI is clicked.\n */\n onPOIClick?: (event: { name: string; coordinates: Coordinates }) => void;\n\n /**\n * Lambda invoked when the marker is clicked\n */\n onMarkerClick?: (event: GoogleMapsMarker) => void;\n\n /**\n * Lambda invoked when the polyline is clicked.\n */\n onPolylineClick?: (event: GoogleMapsPolyline) => void;\n\n /**\n * Lambda invoked when the polygon is clicked.\n */\n onPolygonClick?: (event: GoogleMapsPolygon) => void;\n\n /**\n * Lambda invoked when the circle is clicked.\n */\n onCircleClick?: (event: GoogleMapsCircle) => void;\n\n /**\n * Lambda invoked when the map was moved by the user.\n * Also runs once on initial mount with the starting viewport.\n */\n onCameraMove?: (event: CameraMoveEvent) => void;\n};\n\n/**\n * @platform android\n */\nexport type SetCameraPositionConfig = CameraPosition & {\n /**\n * The duration of the animation in milliseconds.\n */\n duration?: number;\n};\n\n/**\n * @platform android\n */\nexport type GoogleMapsViewType = {\n /**\n * Update camera position.\n * @param config New camera position config.\n */\n setCameraPosition: (config?: SetCameraPositionConfig) => void;\n\n /**\n * This is an async operation that animates the camera to the marker. If called\n * rapidly, a previous animation may be cancelled, causing the returned promise to reject.\n *\n * @param id The ID of the marker to select, or `undefined` to clear selection.\n * @param options Optional configuration for the selection.\n * @param options.zoom The zoom level to use when animating to the selected marker.\n * @param options.moveCamera Whether to animate the camera to the selected marker. When `false`, the camera will not move at all. Defaults to `true`.\n */\n selectMarker: (id?: string, options?: { zoom?: number; moveCamera?: boolean }) => Promise<void>;\n};\n\n/**\n * @platform android\n */\nexport type StreetViewCameraPosition = {\n coordinates: Coordinates;\n zoom?: number;\n tilt?: number;\n bearing?: number;\n};\n\n/**\n * @platform android\n */\nexport type GoogleStreetViewProps = {\n style?: StyleProp<ViewStyle>;\n position: StreetViewCameraPosition;\n isPanningGesturesEnabled?: boolean;\n isStreetNamesEnabled?: boolean;\n isUserNavigationEnabled?: boolean;\n isZoomGesturesEnabled?: boolean;\n};\n"]}
@@ -20,6 +20,35 @@ export type CameraPosition = {
20
20
  */
21
21
  zoom?: number;
22
22
  };
23
+ /**
24
+ * The event payload for the `onCameraMove` callback on `AppleMaps.View` and `GoogleMaps.View`.
25
+ */
26
+ export type CameraMoveEvent = {
27
+ /**
28
+ * The coordinates of the camera center.
29
+ */
30
+ coordinates: Coordinates;
31
+ /**
32
+ * The zoom level of the camera.
33
+ */
34
+ zoom: number;
35
+ /**
36
+ * The tilt of the camera in degrees.
37
+ */
38
+ tilt: number;
39
+ /**
40
+ * The bearing of the camera in degrees.
41
+ */
42
+ bearing: number;
43
+ /**
44
+ * The height of the visible region in degrees of latitude
45
+ */
46
+ latitudeDelta: number;
47
+ /**
48
+ * The width of the visible region in degrees of longitude
49
+ */
50
+ longitudeDelta: number;
51
+ };
23
52
  /**
24
53
  * @hidden
25
54
  */
@@ -1 +1 @@
1
- {"version":3,"file":"shared.types.d.ts","sourceRoot":"","sources":["../src/shared.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAEvD,MAAM,MAAM,WAAW,GAAG;IACxB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B;;OAEG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;IAE1B;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG;IACvB;;;OAGG;IACH,uBAAuB,IAAI,OAAO,CAAC,kBAAkB,CAAC,CAAC;IACvD;;;OAGG;IACH,mBAAmB,IAAI,OAAO,CAAC,kBAAkB,CAAC,CAAC;CACpD,CAAC"}
1
+ {"version":3,"file":"shared.types.d.ts","sourceRoot":"","sources":["../src/shared.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAEvD,MAAM,MAAM,WAAW,GAAG;IACxB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B;;OAEG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;IAE1B;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,WAAW,EAAE,WAAW,CAAC;IAEzB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG;IACvB;;;OAGG;IACH,uBAAuB,IAAI,OAAO,CAAC,kBAAkB,CAAC,CAAC;IACvD;;;OAGG;IACH,mBAAmB,IAAI,OAAO,CAAC,kBAAkB,CAAC,CAAC;CACpD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"shared.types.js","sourceRoot":"","sources":["../src/shared.types.ts"],"names":[],"mappings":"","sourcesContent":["import { PermissionResponse } from 'expo-modules-core';\n\nexport type Coordinates = {\n /**\n * The latitude of the coordinate.\n */\n latitude?: number;\n\n /**\n * The longitude of the coordinate.\n */\n longitude?: number;\n};\n\nexport type CameraPosition = {\n /**\n * The middle point of the camera.\n */\n coordinates?: Coordinates;\n\n /**\n * The zoom level of the camera.\n * For some view sizes, lower zoom levels might not be available.\n */\n zoom?: number;\n};\n\n/**\n * @hidden\n */\nexport type MapsModule = {\n /**\n * Asks the user to grant permissions for location.\n * @return A promise that fulfills with an object of type [`PermissionResponse`](#permissionresponse).\n */\n requestPermissionsAsync(): Promise<PermissionResponse>;\n /**\n * Checks user's permissions for accessing location.\n * @return A promise that fulfills with an object of type [`PermissionResponse`](#permissionresponse).\n */\n getPermissionsAsync(): Promise<PermissionResponse>;\n};\n"]}
1
+ {"version":3,"file":"shared.types.js","sourceRoot":"","sources":["../src/shared.types.ts"],"names":[],"mappings":"","sourcesContent":["import { PermissionResponse } from 'expo-modules-core';\n\nexport type Coordinates = {\n /**\n * The latitude of the coordinate.\n */\n latitude?: number;\n\n /**\n * The longitude of the coordinate.\n */\n longitude?: number;\n};\n\nexport type CameraPosition = {\n /**\n * The middle point of the camera.\n */\n coordinates?: Coordinates;\n\n /**\n * The zoom level of the camera.\n * For some view sizes, lower zoom levels might not be available.\n */\n zoom?: number;\n};\n\n/**\n * The event payload for the `onCameraMove` callback on `AppleMaps.View` and `GoogleMaps.View`.\n */\nexport type CameraMoveEvent = {\n /**\n * The coordinates of the camera center.\n */\n coordinates: Coordinates;\n\n /**\n * The zoom level of the camera.\n */\n zoom: number;\n\n /**\n * The tilt of the camera in degrees.\n */\n tilt: number;\n\n /**\n * The bearing of the camera in degrees.\n */\n bearing: number;\n\n /**\n * The height of the visible region in degrees of latitude\n */\n latitudeDelta: number;\n\n /**\n * The width of the visible region in degrees of longitude\n */\n longitudeDelta: number;\n};\n\n/**\n * @hidden\n */\nexport type MapsModule = {\n /**\n * Asks the user to grant permissions for location.\n * @return A promise that fulfills with an object of type [`PermissionResponse`](#permissionresponse).\n */\n requestPermissionsAsync(): Promise<PermissionResponse>;\n /**\n * Checks user's permissions for accessing location.\n * @return A promise that fulfills with an object of type [`PermissionResponse`](#permissionresponse).\n */\n getPermissionsAsync(): Promise<PermissionResponse>;\n};\n"]}
@@ -13,7 +13,7 @@
13
13
  "publication": {
14
14
  "groupId": "host.exp.exponent",
15
15
  "artifactId": "expo.modules.maps",
16
- "version": "55.0.17",
16
+ "version": "55.0.18",
17
17
  "repository": "local-maven-repo"
18
18
  }
19
19
  }
@@ -0,0 +1 @@
1
+ 98a5b2f53b4dff41f251ef1b77c2dc9eba8d09d81d8db018a180470922119558
@@ -0,0 +1 @@
1
+ 9ad3a620837b51a7606c628718dddc14d88d48681f1b2a53fa1efddce1c8e0fe120f6fc984b229fe9ff2565d3602a05f5fe7be45bfde61895030aa2eca5a309b
@@ -0,0 +1 @@
1
+ 2317f19947f8805fdd993eb05fa8ee34d56010c5
@@ -0,0 +1 @@
1
+ 93b932393c6142b166ace26fa7586cd3a5d1957e05e37a586379749c8c7edd05
@@ -0,0 +1 @@
1
+ b504212a104d2d64256665bbce7c4732ba5d55fb611e121e3718e5c8f59d1f20dbcd57df31118da58cd7c77cbd064e677800466e6aa8851ec9953b84c6e98508
@@ -3,7 +3,7 @@
3
3
  "component": {
4
4
  "group": "host.exp.exponent",
5
5
  "module": "expo.modules.maps",
6
- "version": "55.0.17",
6
+ "version": "55.0.18",
7
7
  "attributes": {
8
8
  "org.gradle.status": "release"
9
9
  }
@@ -24,13 +24,13 @@
24
24
  },
25
25
  "files": [
26
26
  {
27
- "name": "expo.modules.maps-55.0.17.aar",
28
- "url": "expo.modules.maps-55.0.17.aar",
29
- "size": 120278,
30
- "sha512": "ac6bede455c80e7b4041abbfc6e71f6a32aa638c785bcef9006678f3f88a783d9bbf5e1c9e99dabd8dee4ee2366a0ed25be9dbcf7bbf06cc057fb63b99e4c63f",
31
- "sha256": "3a61da67f6c784717637a3624ef4c5e201338aa9b48c2702d114af1e73ba6afe",
32
- "sha1": "3485996f482632205496de62a61ad7f419dedbae",
33
- "md5": "740c7fbd70274ceb7438cf7bee38d857"
27
+ "name": "expo.modules.maps-55.0.18.aar",
28
+ "url": "expo.modules.maps-55.0.18.aar",
29
+ "size": 121000,
30
+ "sha512": "b504212a104d2d64256665bbce7c4732ba5d55fb611e121e3718e5c8f59d1f20dbcd57df31118da58cd7c77cbd064e677800466e6aa8851ec9953b84c6e98508",
31
+ "sha256": "93b932393c6142b166ace26fa7586cd3a5d1957e05e37a586379749c8c7edd05",
32
+ "sha1": "2317f19947f8805fdd993eb05fa8ee34d56010c5",
33
+ "md5": "3be64bc196db6ad4b9e8d7a44dadc3ea"
34
34
  }
35
35
  ]
36
36
  },
@@ -102,13 +102,13 @@
102
102
  ],
103
103
  "files": [
104
104
  {
105
- "name": "expo.modules.maps-55.0.17.aar",
106
- "url": "expo.modules.maps-55.0.17.aar",
107
- "size": 120278,
108
- "sha512": "ac6bede455c80e7b4041abbfc6e71f6a32aa638c785bcef9006678f3f88a783d9bbf5e1c9e99dabd8dee4ee2366a0ed25be9dbcf7bbf06cc057fb63b99e4c63f",
109
- "sha256": "3a61da67f6c784717637a3624ef4c5e201338aa9b48c2702d114af1e73ba6afe",
110
- "sha1": "3485996f482632205496de62a61ad7f419dedbae",
111
- "md5": "740c7fbd70274ceb7438cf7bee38d857"
105
+ "name": "expo.modules.maps-55.0.18.aar",
106
+ "url": "expo.modules.maps-55.0.18.aar",
107
+ "size": 121000,
108
+ "sha512": "b504212a104d2d64256665bbce7c4732ba5d55fb611e121e3718e5c8f59d1f20dbcd57df31118da58cd7c77cbd064e677800466e6aa8851ec9953b84c6e98508",
109
+ "sha256": "93b932393c6142b166ace26fa7586cd3a5d1957e05e37a586379749c8c7edd05",
110
+ "sha1": "2317f19947f8805fdd993eb05fa8ee34d56010c5",
111
+ "md5": "3be64bc196db6ad4b9e8d7a44dadc3ea"
112
112
  }
113
113
  ]
114
114
  },
@@ -122,13 +122,13 @@
122
122
  },
123
123
  "files": [
124
124
  {
125
- "name": "expo.modules.maps-55.0.17-sources.jar",
126
- "url": "expo.modules.maps-55.0.17-sources.jar",
127
- "size": 8804,
128
- "sha512": "a9a89790d21136cfe06323716b4660681b4084bd766ba3bdd05240626e83bea56ad085279ba21ecb68a99f7ed2eb73f3900d3c49f48f6ebb77c3d23b5cf44bd4",
129
- "sha256": "94804ca3c40e745b1ed2f6723dccb0da9233b4625440ce4e82685b2dea0fedea",
130
- "sha1": "27f63d5b3bca5e9e81342e68c0d19b16d899b1e4",
131
- "md5": "b78713040629a2bf63c9e95f1b3d0969"
125
+ "name": "expo.modules.maps-55.0.18-sources.jar",
126
+ "url": "expo.modules.maps-55.0.18-sources.jar",
127
+ "size": 8991,
128
+ "sha512": "9ad3a620837b51a7606c628718dddc14d88d48681f1b2a53fa1efddce1c8e0fe120f6fc984b229fe9ff2565d3602a05f5fe7be45bfde61895030aa2eca5a309b",
129
+ "sha256": "98a5b2f53b4dff41f251ef1b77c2dc9eba8d09d81d8db018a180470922119558",
130
+ "sha1": "b98680c5500401a6d80976274595a4f8c2e4ff91",
131
+ "md5": "5089c4a3b97bab9a8378f00da8a4a1df"
132
132
  }
133
133
  ]
134
134
  }
@@ -0,0 +1 @@
1
+ b410e9b5dcc90ef2f820fb942cee4bb81a2ed61bf51803f98d6b33fed3672561
@@ -0,0 +1 @@
1
+ 8e27b8eb09dd15f0582b183af43e51a24d2115f19e014b555d0d2e385d8f5c94d85481e3975e9326cdffb11e556280a9ef5646dce63b1665ceb131c189f584a5
@@ -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>55.0.17</version>
12
+ <version>55.0.18</version>
13
13
  <packaging>aar</packaging>
14
14
  <name>expo.modules.maps</name>
15
15
  <url>https://github.com/expo/expo</url>
@@ -0,0 +1 @@
1
+ fcee5de69c681d4d008dfc9976b8a37dbb57bcc5
@@ -0,0 +1 @@
1
+ ef87946211bd64f9c9173e6b5412d5dacd0bd8ccf7869b29bccbeb462ceef151
@@ -0,0 +1 @@
1
+ c5f62283a635f60693ba2dd29b7e6fe75af44c06793ffe472ce0dd6b147bee56866a9547979d8c6bf16b24d521a5075a1e65e51b7b7f8656205a6c5bef945410
@@ -3,11 +3,11 @@
3
3
  <groupId>host.exp.exponent</groupId>
4
4
  <artifactId>expo.modules.maps</artifactId>
5
5
  <versioning>
6
- <latest>55.0.17</latest>
7
- <release>55.0.17</release>
6
+ <latest>55.0.18</latest>
7
+ <release>55.0.18</release>
8
8
  <versions>
9
- <version>55.0.17</version>
9
+ <version>55.0.18</version>
10
10
  </versions>
11
- <lastUpdated>20260505153917</lastUpdated>
11
+ <lastUpdated>20260513100107</lastUpdated>
12
12
  </versioning>
13
13
  </metadata>
@@ -1 +1 @@
1
- cce6da0183136057385b10606762bba0
1
+ bc5f0fd8cc8de451556cae71a0b1346f
@@ -1 +1 @@
1
- 7e8c08c8371288bb3794c1c6dd3a074896167604
1
+ 20dc124bebce35b9e2ef91ecdfc564b9825d16ff
@@ -1 +1 @@
1
- 35bb93754900f890663df31acd734422d538310aa66976b82abcb0227351e1b2
1
+ 62d672099a37597f4794673dc8b8b8e539421fc6a0709509955990446125d20c
@@ -1 +1 @@
1
- 1a34f0da865fc5aaa55c52ac129cac0a99be7823d7e760d94749e73d33a92601d4f48991290716d10132fdcf2fec17a9a7f3412d5e90137b4c298d681821cb54
1
+ 5d3b4df99ecab865363a12cab06584e8fdc058abcc849f57b96e9c79bb3cd22df445a4a90890d5782763ce616a0c80b0a2c0bf48405f6506ee7567dfbdc66b93
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-maps",
3
- "version": "55.0.17",
3
+ "version": "55.0.18",
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",
@@ -36,5 +36,5 @@
36
36
  "react": "*",
37
37
  "react-native": "*"
38
38
  },
39
- "gitHead": "5bc513a66ee84508a5137ae006df1cf50e1eba3f"
39
+ "gitHead": "0675db12d13a5309e3109e8ecf7f6011522194c6"
40
40
  }
@@ -2,7 +2,7 @@ import type { SharedRefType } from 'expo';
2
2
  import type { Ref } from 'react';
3
3
  import type { ProcessedColorValue, StyleProp, ViewStyle } from 'react-native';
4
4
 
5
- import { CameraPosition, Coordinates } from '../shared.types';
5
+ import type { CameraMoveEvent, CameraPosition, Coordinates } from '../shared.types';
6
6
 
7
7
  /**
8
8
  * @platform ios
@@ -530,15 +530,9 @@ export type AppleMapsViewProps = {
530
530
 
531
531
  /**
532
532
  * Lambda invoked when the map was moved by the user.
533
+ * Also runs once on initial mount with the starting viewport.
533
534
  */
534
- onCameraMove?: (event: {
535
- coordinates: Coordinates;
536
- latitudeDelta: number;
537
- longitudeDelta: number;
538
- zoom: number;
539
- tilt: number;
540
- bearing: number;
541
- }) => void;
535
+ onCameraMove?: (event: CameraMoveEvent) => void;
542
536
  };
543
537
 
544
538
  /**
@@ -2,7 +2,7 @@ import type { SharedRefType } from 'expo';
2
2
  import type { Ref } from 'react';
3
3
  import type { ProcessedColorValue, StyleProp, ViewStyle } from 'react-native';
4
4
 
5
- import { CameraPosition, Coordinates } from '../shared.types';
5
+ import type { CameraMoveEvent, CameraPosition, Coordinates } from '../shared.types';
6
6
 
7
7
  /**
8
8
  * @platform android
@@ -487,13 +487,9 @@ export type GoogleMapsViewProps = {
487
487
 
488
488
  /**
489
489
  * Lambda invoked when the map was moved by the user.
490
+ * Also runs once on initial mount with the starting viewport.
490
491
  */
491
- onCameraMove?: (event: {
492
- coordinates: Coordinates;
493
- zoom: number;
494
- tilt: number;
495
- bearing: number;
496
- }) => void;
492
+ onCameraMove?: (event: CameraMoveEvent) => void;
497
493
  };
498
494
 
499
495
  /**
@@ -25,6 +25,41 @@ export type CameraPosition = {
25
25
  zoom?: number;
26
26
  };
27
27
 
28
+ /**
29
+ * The event payload for the `onCameraMove` callback on `AppleMaps.View` and `GoogleMaps.View`.
30
+ */
31
+ export type CameraMoveEvent = {
32
+ /**
33
+ * The coordinates of the camera center.
34
+ */
35
+ coordinates: Coordinates;
36
+
37
+ /**
38
+ * The zoom level of the camera.
39
+ */
40
+ zoom: number;
41
+
42
+ /**
43
+ * The tilt of the camera in degrees.
44
+ */
45
+ tilt: number;
46
+
47
+ /**
48
+ * The bearing of the camera in degrees.
49
+ */
50
+ bearing: number;
51
+
52
+ /**
53
+ * The height of the visible region in degrees of latitude
54
+ */
55
+ latitudeDelta: number;
56
+
57
+ /**
58
+ * The width of the visible region in degrees of longitude
59
+ */
60
+ longitudeDelta: number;
61
+ };
62
+
28
63
  /**
29
64
  * @hidden
30
65
  */
@@ -1 +0,0 @@
1
- 94804ca3c40e745b1ed2f6723dccb0da9233b4625440ce4e82685b2dea0fedea
@@ -1 +0,0 @@
1
- a9a89790d21136cfe06323716b4660681b4084bd766ba3bdd05240626e83bea56ad085279ba21ecb68a99f7ed2eb73f3900d3c49f48f6ebb77c3d23b5cf44bd4
@@ -1 +0,0 @@
1
- 3485996f482632205496de62a61ad7f419dedbae
@@ -1 +0,0 @@
1
- 3a61da67f6c784717637a3624ef4c5e201338aa9b48c2702d114af1e73ba6afe
@@ -1 +0,0 @@
1
- ac6bede455c80e7b4041abbfc6e71f6a32aa638c785bcef9006678f3f88a783d9bbf5e1c9e99dabd8dee4ee2366a0ed25be9dbcf7bbf06cc057fb63b99e4c63f
@@ -1 +0,0 @@
1
- c3127284556c4ed2137ef817b86bf5cd8b115d38
@@ -1 +0,0 @@
1
- e70a6dd01f4435c6a919b91e6ce167a5e0f1175e73184b6438d8843f8b83ad3a
@@ -1 +0,0 @@
1
- 3eece9a795a39e8d56d1e9c204a3e787584223f740f0e60fb7ca583b39ff497836a9d5b9a517338171dd2627780f1066d3a208d6df66b55351613f0439d585bd
@@ -1 +0,0 @@
1
- 6d7d9f3e04cef2f9d816fa5d41f603572135e030
@@ -1 +0,0 @@
1
- 7f2c132cbebd558c108f02760d900b0f2580ce2d1ec1b3fd08f6ef586f94a098
@@ -1 +0,0 @@
1
- 42113187c74a5f3097308b988b4a2c384f9d811f1778f9d3099e006c94a947a69786c957f1b377ef7632d02ea8cf983f1651da7d4bef2a947736b94e19a5f17a