expo-maps 1.0.0-canary-20250404-87e2506 → 1.0.0-canary-20250408-7f0ab53
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.
- package/CHANGELOG.md +11 -1
- package/android/build.gradle +2 -2
- package/android/src/main/java/expo/modules/maps/GoogleStreetView.kt +8 -4
- package/android/src/main/java/expo/modules/maps/Records.kt +14 -0
- package/build/google/GoogleMaps.types.d.ts +10 -1
- package/build/google/GoogleMaps.types.d.ts.map +1 -1
- package/build/google/GoogleMaps.types.js.map +1 -1
- package/expo-module.config.json +7 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.maps/1.0.0-canary-20250408-7f0ab53/expo.modules.maps-1.0.0-canary-20250408-7f0ab53-sources.jar +0 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.maps/1.0.0-canary-20250408-7f0ab53/expo.modules.maps-1.0.0-canary-20250408-7f0ab53-sources.jar.md5 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.maps/1.0.0-canary-20250408-7f0ab53/expo.modules.maps-1.0.0-canary-20250408-7f0ab53-sources.jar.sha1 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.maps/1.0.0-canary-20250408-7f0ab53/expo.modules.maps-1.0.0-canary-20250408-7f0ab53-sources.jar.sha256 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.maps/1.0.0-canary-20250408-7f0ab53/expo.modules.maps-1.0.0-canary-20250408-7f0ab53-sources.jar.sha512 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.maps/1.0.0-canary-20250408-7f0ab53/expo.modules.maps-1.0.0-canary-20250408-7f0ab53.aar +0 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.maps/1.0.0-canary-20250408-7f0ab53/expo.modules.maps-1.0.0-canary-20250408-7f0ab53.aar.md5 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.maps/1.0.0-canary-20250408-7f0ab53/expo.modules.maps-1.0.0-canary-20250408-7f0ab53.aar.sha1 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.maps/1.0.0-canary-20250408-7f0ab53/expo.modules.maps-1.0.0-canary-20250408-7f0ab53.aar.sha256 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.maps/1.0.0-canary-20250408-7f0ab53/expo.modules.maps-1.0.0-canary-20250408-7f0ab53.aar.sha512 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.maps/1.0.0-canary-20250408-7f0ab53/expo.modules.maps-1.0.0-canary-20250408-7f0ab53.module +136 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.maps/1.0.0-canary-20250408-7f0ab53/expo.modules.maps-1.0.0-canary-20250408-7f0ab53.module.md5 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.maps/1.0.0-canary-20250408-7f0ab53/expo.modules.maps-1.0.0-canary-20250408-7f0ab53.module.sha1 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.maps/1.0.0-canary-20250408-7f0ab53/expo.modules.maps-1.0.0-canary-20250408-7f0ab53.module.sha256 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.maps/1.0.0-canary-20250408-7f0ab53/expo.modules.maps-1.0.0-canary-20250408-7f0ab53.module.sha512 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.maps/1.0.0-canary-20250408-7f0ab53/expo.modules.maps-1.0.0-canary-20250408-7f0ab53.pom +77 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.maps/1.0.0-canary-20250408-7f0ab53/expo.modules.maps-1.0.0-canary-20250408-7f0ab53.pom.md5 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.maps/1.0.0-canary-20250408-7f0ab53/expo.modules.maps-1.0.0-canary-20250408-7f0ab53.pom.sha1 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.maps/1.0.0-canary-20250408-7f0ab53/expo.modules.maps-1.0.0-canary-20250408-7f0ab53.pom.sha256 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.maps/1.0.0-canary-20250408-7f0ab53/expo.modules.maps-1.0.0-canary-20250408-7f0ab53.pom.sha512 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.maps/maven-metadata.xml +13 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.maps/maven-metadata.xml.md5 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.maps/maven-metadata.xml.sha1 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.maps/maven-metadata.xml.sha256 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.maps/maven-metadata.xml.sha512 +1 -0
- package/package.json +3 -3
- package/src/google/GoogleMaps.types.ts +11 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,12 +4,22 @@
|
|
|
4
4
|
|
|
5
5
|
### 🛠 Breaking changes
|
|
6
6
|
|
|
7
|
-
-
|
|
7
|
+
- [Android] Add zoom, tilt, bearing to StreetView position ([#35938](https://github.com/expo/expo/pull/35938) by [@jakex7](https://github.com/jakex7))
|
|
8
8
|
|
|
9
9
|
### 🎉 New features
|
|
10
10
|
|
|
11
11
|
### 🐛 Bug fixes
|
|
12
12
|
|
|
13
|
+
### 💡 Others
|
|
14
|
+
|
|
15
|
+
## 0.8.0 — 2025-04-04
|
|
16
|
+
|
|
17
|
+
### 🛠 Breaking changes
|
|
18
|
+
|
|
19
|
+
- upgrade RN to 0.78 ([#35050](https://github.com/expo/expo/pull/35050) by [@vonovak](https://github.com/vonovak))
|
|
20
|
+
|
|
21
|
+
### 🐛 Bug fixes
|
|
22
|
+
|
|
13
23
|
- [Android] fix updating cameraPosition prop ([#35883](https://github.com/expo/expo/pull/35883) by [@jakex7](https://github.com/jakex7))
|
|
14
24
|
|
|
15
25
|
### 💡 Others
|
package/android/build.gradle
CHANGED
|
@@ -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.
|
|
17
|
+
version = '1.0.0-canary-20250408-7f0ab53'
|
|
18
18
|
|
|
19
19
|
android {
|
|
20
20
|
namespace "expo.modules.maps"
|
|
21
21
|
defaultConfig {
|
|
22
22
|
versionCode 1
|
|
23
|
-
versionName "0.
|
|
23
|
+
versionName "1.0.0-canary-20250408-7f0ab53"
|
|
24
24
|
}
|
|
25
25
|
buildFeatures {
|
|
26
26
|
compose true
|
|
@@ -5,6 +5,7 @@ import androidx.compose.runtime.MutableState
|
|
|
5
5
|
import androidx.compose.runtime.key
|
|
6
6
|
import androidx.compose.runtime.mutableStateOf
|
|
7
7
|
import com.google.android.gms.maps.StreetViewPanoramaOptions
|
|
8
|
+
import com.google.android.gms.maps.model.StreetViewPanoramaCamera
|
|
8
9
|
import com.google.maps.android.compose.streetview.StreetView
|
|
9
10
|
import com.google.maps.android.ktx.MapsExperimentalFeature
|
|
10
11
|
import expo.modules.kotlin.AppContext
|
|
@@ -12,7 +13,7 @@ import expo.modules.kotlin.views.ComposeProps
|
|
|
12
13
|
import expo.modules.kotlin.views.ExpoComposeView
|
|
13
14
|
|
|
14
15
|
data class GoogleStreetViewProps(
|
|
15
|
-
val position: MutableState<
|
|
16
|
+
val position: MutableState<CameraPositionStreetViewRecord> = mutableStateOf(CameraPositionStreetViewRecord()),
|
|
16
17
|
val isPanningGesturesEnabled: MutableState<Boolean> = mutableStateOf(true),
|
|
17
18
|
val isStreetNamesEnabled: MutableState<Boolean> = mutableStateOf(true),
|
|
18
19
|
val isUserNavigationEnabled: MutableState<Boolean> = mutableStateOf(true),
|
|
@@ -28,11 +29,14 @@ class GoogleStreetView(
|
|
|
28
29
|
|
|
29
30
|
init {
|
|
30
31
|
setContent {
|
|
31
|
-
key(props.position.value.toString()) {
|
|
32
|
+
key(props.position.value.coordinates.toString()) {
|
|
32
33
|
StreetView(
|
|
33
34
|
streetViewPanoramaOptionsFactory = {
|
|
34
|
-
|
|
35
|
-
|
|
35
|
+
props.position.value.let { camera ->
|
|
36
|
+
StreetViewPanoramaOptions()
|
|
37
|
+
.position(camera.coordinates.toLatLng())
|
|
38
|
+
.panoramaCamera(StreetViewPanoramaCamera(camera.zoom, camera.tilt, camera.bearing))
|
|
39
|
+
}
|
|
36
40
|
},
|
|
37
41
|
isPanningGesturesEnabled = props.isPanningGesturesEnabled.value,
|
|
38
42
|
isStreetNamesEnabled = props.isStreetNamesEnabled.value,
|
|
@@ -201,3 +201,17 @@ data class CameraMoveEvent(
|
|
|
201
201
|
@Field
|
|
202
202
|
val bearing: Float
|
|
203
203
|
) : Record
|
|
204
|
+
|
|
205
|
+
data class CameraPositionStreetViewRecord(
|
|
206
|
+
@Field
|
|
207
|
+
val coordinates: Coordinates = Coordinates(),
|
|
208
|
+
|
|
209
|
+
@Field
|
|
210
|
+
val zoom: Float = 0f,
|
|
211
|
+
|
|
212
|
+
@Field
|
|
213
|
+
val tilt: Float = 0f,
|
|
214
|
+
|
|
215
|
+
@Field
|
|
216
|
+
val bearing: Float = 0f
|
|
217
|
+
) : Record
|
|
@@ -252,12 +252,21 @@ export type GoogleMapsViewType = {
|
|
|
252
252
|
*/
|
|
253
253
|
setCameraPosition: (config?: SetCameraPositionConfig) => void;
|
|
254
254
|
};
|
|
255
|
+
/**
|
|
256
|
+
* @platform android
|
|
257
|
+
*/
|
|
258
|
+
export type StreetViewCameraPosition = {
|
|
259
|
+
coordinates: Coordinates;
|
|
260
|
+
zoom?: number;
|
|
261
|
+
tilt?: number;
|
|
262
|
+
bearing?: number;
|
|
263
|
+
};
|
|
255
264
|
/**
|
|
256
265
|
* @platform android
|
|
257
266
|
*/
|
|
258
267
|
export type GoogleStreetViewProps = {
|
|
259
268
|
style?: StyleProp<ViewStyle>;
|
|
260
|
-
position
|
|
269
|
+
position: StreetViewCameraPosition;
|
|
261
270
|
isPanningGesturesEnabled?: boolean;
|
|
262
271
|
isStreetNamesEnabled?: boolean;
|
|
263
272
|
isUserNavigationEnabled?: boolean;
|
|
@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ACH,iBAAiB,EAAE,CAAC,MAAM,CAAC,EAAE,uBAAuB,KAAK,IAAI,CAAC;CAC/D,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACrC,WAAW,EAAE,WAAW,CAAC;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,QAAQ,EAAE,wBAAwB,CAAC;IACnC,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GoogleMaps.types.js","sourceRoot":"","sources":["../../src/google/GoogleMaps.types.ts"],"names":[],"mappings":"AA0HA;;;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+CD;;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 { StyleProp, ViewStyle } from 'react-native';\n\nimport { CameraPosition, Coordinates } from '../shared.types';\n\n/**\n * @platform android\n */\nexport type GoogleMapsMarker = {\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/**\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 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/**\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 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 `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 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 * 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 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/**\n * @platform android\n */\nexport type GoogleStreetViewProps = {\n style?: StyleProp<ViewStyle>;\n
|
|
1
|
+
{"version":3,"file":"GoogleMaps.types.js","sourceRoot":"","sources":["../../src/google/GoogleMaps.types.ts"],"names":[],"mappings":"AA0HA;;;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+CD;;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 { StyleProp, ViewStyle } from 'react-native';\n\nimport { CameraPosition, Coordinates } from '../shared.types';\n\n/**\n * @platform android\n */\nexport type GoogleMapsMarker = {\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/**\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 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/**\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 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 `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 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 * 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 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/**\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"]}
|
package/expo-module.config.json
CHANGED
|
@@ -8,6 +8,12 @@
|
|
|
8
8
|
"expo.modules.maps.MapsModule",
|
|
9
9
|
"expo.modules.maps.GoogleMapsModule",
|
|
10
10
|
"expo.modules.maps.StreetViewModule"
|
|
11
|
-
]
|
|
11
|
+
],
|
|
12
|
+
"publication": {
|
|
13
|
+
"groupId": "host.exp.exponent",
|
|
14
|
+
"artifactId": "expo.modules.maps",
|
|
15
|
+
"version": "1.0.0-canary-20250408-7f0ab53",
|
|
16
|
+
"repository": "local-maven-repo"
|
|
17
|
+
}
|
|
12
18
|
}
|
|
13
19
|
}
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
fae5eee837ee4f75b04f22dd8c71abdf
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
9d740ce596c6a766425e86c4e80a92552323a7b4
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
60b7fdc37b59e0068655fccace19d890349ff1e859ffb75bddd56014d019bb17
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
aca304dc64631679442785588e4c44875c9b82aa10a677d1a2402c86e02d6a3c732b4c213598712cf65728e3139dc4434c2df7f3361c0ae16894609d052ac869
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
dfc7f926f5af08134331f6c4e20d4a67
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
d21eccd0c0038444350dbce1176d36ebf0d7b6cc
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
738d56e387c866bfd1b3d1bfe2b2dde326a3b8efd170082a7cadc77dddeb4724
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
a8622f2dabd381b395e28ec7aac4f6ca7abde2d5c7ccb8c5424f05ddfdf65abfae7d21e907ce77128791c28c1f5331df4c77154bdbd8b46c092290244b459efc
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
{
|
|
2
|
+
"formatVersion": "1.1",
|
|
3
|
+
"component": {
|
|
4
|
+
"group": "host.exp.exponent",
|
|
5
|
+
"module": "expo.modules.maps",
|
|
6
|
+
"version": "1.0.0-canary-20250408-7f0ab53",
|
|
7
|
+
"attributes": {
|
|
8
|
+
"org.gradle.status": "release"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"createdBy": {
|
|
12
|
+
"gradle": {
|
|
13
|
+
"version": "8.13"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"variants": [
|
|
17
|
+
{
|
|
18
|
+
"name": "releaseVariantReleaseApiPublication",
|
|
19
|
+
"attributes": {
|
|
20
|
+
"org.gradle.category": "library",
|
|
21
|
+
"org.gradle.dependency.bundling": "external",
|
|
22
|
+
"org.gradle.libraryelements": "aar",
|
|
23
|
+
"org.gradle.usage": "java-api"
|
|
24
|
+
},
|
|
25
|
+
"files": [
|
|
26
|
+
{
|
|
27
|
+
"name": "expo.modules.maps-1.0.0-canary-20250408-7f0ab53.aar",
|
|
28
|
+
"url": "expo.modules.maps-1.0.0-canary-20250408-7f0ab53.aar",
|
|
29
|
+
"size": 84062,
|
|
30
|
+
"sha512": "a8622f2dabd381b395e28ec7aac4f6ca7abde2d5c7ccb8c5424f05ddfdf65abfae7d21e907ce77128791c28c1f5331df4c77154bdbd8b46c092290244b459efc",
|
|
31
|
+
"sha256": "738d56e387c866bfd1b3d1bfe2b2dde326a3b8efd170082a7cadc77dddeb4724",
|
|
32
|
+
"sha1": "d21eccd0c0038444350dbce1176d36ebf0d7b6cc",
|
|
33
|
+
"md5": "dfc7f926f5af08134331f6c4e20d4a67"
|
|
34
|
+
}
|
|
35
|
+
]
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "releaseVariantReleaseRuntimePublication",
|
|
39
|
+
"attributes": {
|
|
40
|
+
"org.gradle.category": "library",
|
|
41
|
+
"org.gradle.dependency.bundling": "external",
|
|
42
|
+
"org.gradle.libraryelements": "aar",
|
|
43
|
+
"org.gradle.usage": "java-runtime"
|
|
44
|
+
},
|
|
45
|
+
"dependencies": [
|
|
46
|
+
{
|
|
47
|
+
"group": "org.jetbrains.kotlin",
|
|
48
|
+
"module": "kotlin-stdlib-jdk7",
|
|
49
|
+
"version": {
|
|
50
|
+
"requires": "2.0.21"
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"group": "androidx.compose.foundation",
|
|
55
|
+
"module": "foundation-android",
|
|
56
|
+
"version": {
|
|
57
|
+
"requires": "1.7.6"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"group": "androidx.compose.ui",
|
|
62
|
+
"module": "ui-android",
|
|
63
|
+
"version": {
|
|
64
|
+
"requires": "1.7.6"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"group": "androidx.compose.material3",
|
|
69
|
+
"module": "material3",
|
|
70
|
+
"version": {
|
|
71
|
+
"requires": "1.3.1"
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"group": "androidx.lifecycle",
|
|
76
|
+
"module": "lifecycle-runtime",
|
|
77
|
+
"version": {
|
|
78
|
+
"requires": "2.8.7"
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"group": "androidx.fragment",
|
|
83
|
+
"module": "fragment-ktx",
|
|
84
|
+
"version": {
|
|
85
|
+
"requires": "1.8.5"
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"group": "androidx.compose.material3",
|
|
90
|
+
"module": "material3-android",
|
|
91
|
+
"version": {
|
|
92
|
+
"requires": "1.3.1"
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"group": "com.google.maps.android",
|
|
97
|
+
"module": "maps-compose",
|
|
98
|
+
"version": {
|
|
99
|
+
"requires": "6.4.0"
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
],
|
|
103
|
+
"files": [
|
|
104
|
+
{
|
|
105
|
+
"name": "expo.modules.maps-1.0.0-canary-20250408-7f0ab53.aar",
|
|
106
|
+
"url": "expo.modules.maps-1.0.0-canary-20250408-7f0ab53.aar",
|
|
107
|
+
"size": 84062,
|
|
108
|
+
"sha512": "a8622f2dabd381b395e28ec7aac4f6ca7abde2d5c7ccb8c5424f05ddfdf65abfae7d21e907ce77128791c28c1f5331df4c77154bdbd8b46c092290244b459efc",
|
|
109
|
+
"sha256": "738d56e387c866bfd1b3d1bfe2b2dde326a3b8efd170082a7cadc77dddeb4724",
|
|
110
|
+
"sha1": "d21eccd0c0038444350dbce1176d36ebf0d7b6cc",
|
|
111
|
+
"md5": "dfc7f926f5af08134331f6c4e20d4a67"
|
|
112
|
+
}
|
|
113
|
+
]
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"name": "releaseVariantReleaseSourcePublication",
|
|
117
|
+
"attributes": {
|
|
118
|
+
"org.gradle.category": "documentation",
|
|
119
|
+
"org.gradle.dependency.bundling": "external",
|
|
120
|
+
"org.gradle.docstype": "sources",
|
|
121
|
+
"org.gradle.usage": "java-runtime"
|
|
122
|
+
},
|
|
123
|
+
"files": [
|
|
124
|
+
{
|
|
125
|
+
"name": "expo.modules.maps-1.0.0-canary-20250408-7f0ab53-sources.jar",
|
|
126
|
+
"url": "expo.modules.maps-1.0.0-canary-20250408-7f0ab53-sources.jar",
|
|
127
|
+
"size": 6965,
|
|
128
|
+
"sha512": "aca304dc64631679442785588e4c44875c9b82aa10a677d1a2402c86e02d6a3c732b4c213598712cf65728e3139dc4434c2df7f3361c0ae16894609d052ac869",
|
|
129
|
+
"sha256": "60b7fdc37b59e0068655fccace19d890349ff1e859ffb75bddd56014d019bb17",
|
|
130
|
+
"sha1": "9d740ce596c6a766425e86c4e80a92552323a7b4",
|
|
131
|
+
"md5": "fae5eee837ee4f75b04f22dd8c71abdf"
|
|
132
|
+
}
|
|
133
|
+
]
|
|
134
|
+
}
|
|
135
|
+
]
|
|
136
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
bb026f42e03017abfdd17e3f753ff2d3
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
84359b8cc8349a256d059a4039105bc3e87353c1
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2eb570413e5a79be92d8b9380298cc910e88f4fbd927b3c88d4ffab0506d6434
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
bd015c7694177966d59f1512aa3dc37765f592625cb123a173a7e42310fade2a53604204eaeb9d63141a1ad9beed5dafb6904610107a9cdb8d1e4c2bf6c170d5
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
|
|
3
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
4
|
+
<!-- This module was also published with a richer model, Gradle metadata, -->
|
|
5
|
+
<!-- which should be used instead. Do not delete the following line which -->
|
|
6
|
+
<!-- is to indicate to Gradle or any Gradle module metadata file consumer -->
|
|
7
|
+
<!-- that they should prefer consuming it instead. -->
|
|
8
|
+
<!-- do_not_remove: published-with-gradle-metadata -->
|
|
9
|
+
<modelVersion>4.0.0</modelVersion>
|
|
10
|
+
<groupId>host.exp.exponent</groupId>
|
|
11
|
+
<artifactId>expo.modules.maps</artifactId>
|
|
12
|
+
<version>1.0.0-canary-20250408-7f0ab53</version>
|
|
13
|
+
<packaging>aar</packaging>
|
|
14
|
+
<name>expo.modules.maps</name>
|
|
15
|
+
<url>https://github.com/expo/expo</url>
|
|
16
|
+
<licenses>
|
|
17
|
+
<license>
|
|
18
|
+
<name>MIT License</name>
|
|
19
|
+
<url>https://github.com/expo/expo/blob/main/LICENSE</url>
|
|
20
|
+
</license>
|
|
21
|
+
</licenses>
|
|
22
|
+
<scm>
|
|
23
|
+
<connection>https://github.com/expo/expo.git</connection>
|
|
24
|
+
<developerConnection>https://github.com/expo/expo.git</developerConnection>
|
|
25
|
+
<url>https://github.com/expo/expo</url>
|
|
26
|
+
</scm>
|
|
27
|
+
<dependencies>
|
|
28
|
+
<dependency>
|
|
29
|
+
<groupId>org.jetbrains.kotlin</groupId>
|
|
30
|
+
<artifactId>kotlin-stdlib-jdk7</artifactId>
|
|
31
|
+
<version>2.0.21</version>
|
|
32
|
+
<scope>runtime</scope>
|
|
33
|
+
</dependency>
|
|
34
|
+
<dependency>
|
|
35
|
+
<groupId>androidx.compose.foundation</groupId>
|
|
36
|
+
<artifactId>foundation-android</artifactId>
|
|
37
|
+
<version>1.7.6</version>
|
|
38
|
+
<scope>runtime</scope>
|
|
39
|
+
</dependency>
|
|
40
|
+
<dependency>
|
|
41
|
+
<groupId>androidx.compose.ui</groupId>
|
|
42
|
+
<artifactId>ui-android</artifactId>
|
|
43
|
+
<version>1.7.6</version>
|
|
44
|
+
<scope>runtime</scope>
|
|
45
|
+
</dependency>
|
|
46
|
+
<dependency>
|
|
47
|
+
<groupId>androidx.compose.material3</groupId>
|
|
48
|
+
<artifactId>material3</artifactId>
|
|
49
|
+
<version>1.3.1</version>
|
|
50
|
+
<scope>runtime</scope>
|
|
51
|
+
</dependency>
|
|
52
|
+
<dependency>
|
|
53
|
+
<groupId>androidx.lifecycle</groupId>
|
|
54
|
+
<artifactId>lifecycle-runtime</artifactId>
|
|
55
|
+
<version>2.8.7</version>
|
|
56
|
+
<scope>runtime</scope>
|
|
57
|
+
</dependency>
|
|
58
|
+
<dependency>
|
|
59
|
+
<groupId>androidx.fragment</groupId>
|
|
60
|
+
<artifactId>fragment-ktx</artifactId>
|
|
61
|
+
<version>1.8.5</version>
|
|
62
|
+
<scope>runtime</scope>
|
|
63
|
+
</dependency>
|
|
64
|
+
<dependency>
|
|
65
|
+
<groupId>androidx.compose.material3</groupId>
|
|
66
|
+
<artifactId>material3-android</artifactId>
|
|
67
|
+
<version>1.3.1</version>
|
|
68
|
+
<scope>runtime</scope>
|
|
69
|
+
</dependency>
|
|
70
|
+
<dependency>
|
|
71
|
+
<groupId>com.google.maps.android</groupId>
|
|
72
|
+
<artifactId>maps-compose</artifactId>
|
|
73
|
+
<version>6.4.0</version>
|
|
74
|
+
<scope>runtime</scope>
|
|
75
|
+
</dependency>
|
|
76
|
+
</dependencies>
|
|
77
|
+
</project>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
aaeffeb706cacde9510f168a867cd5f2
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
8a34cb6dbc215d24dfe25fec70a3f89ede5d0c11
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
666852af9cc415282954590ec49fe22fc7e732c0f84155e87b366487dd9fb32e
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
c44ead47462ccd6a7d5a9b86c19168f46924efec4a341fa59e1e1950da3c056f05a6ac94e2553e459f7a09392f63f3076bab9cc17924f0edd2b5f2313b3ccc17
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<metadata>
|
|
3
|
+
<groupId>host.exp.exponent</groupId>
|
|
4
|
+
<artifactId>expo.modules.maps</artifactId>
|
|
5
|
+
<versioning>
|
|
6
|
+
<latest>1.0.0-canary-20250408-7f0ab53</latest>
|
|
7
|
+
<release>1.0.0-canary-20250408-7f0ab53</release>
|
|
8
|
+
<versions>
|
|
9
|
+
<version>1.0.0-canary-20250408-7f0ab53</version>
|
|
10
|
+
</versions>
|
|
11
|
+
<lastUpdated>20250408205706</lastUpdated>
|
|
12
|
+
</versioning>
|
|
13
|
+
</metadata>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
fbb1bd3c9bc75d67915d5463037ae06d
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
7c4f9006fda1738bcc23e9d4ff8a5da5500cd42e
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
50c1f1a1e7e22c707c4384ee1b1d20604624bfe564751f7252222e43bcb1aa23
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
27682a227ff20195d00c67fe84b2f3bf792f5e6a98e1709a526279d9c24c56449bab33f3dc2202d053be2ede2a42a0fe0f281f418eace982876bda0806d93667
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-maps",
|
|
3
|
-
"version": "1.0.0-canary-
|
|
3
|
+
"version": "1.0.0-canary-20250408-7f0ab53",
|
|
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",
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
"dependencies": {},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/react": "~19.0.10",
|
|
32
|
-
"expo-module-scripts": "4.
|
|
32
|
+
"expo-module-scripts": "4.1.1-canary-20250408-7f0ab53"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
|
-
"expo": "53.0.0-canary-
|
|
35
|
+
"expo": "53.0.0-canary-20250408-7f0ab53",
|
|
36
36
|
"react": "*",
|
|
37
37
|
"react-native": "*"
|
|
38
38
|
}
|
|
@@ -292,13 +292,22 @@ export type GoogleMapsViewType = {
|
|
|
292
292
|
setCameraPosition: (config?: SetCameraPositionConfig) => void;
|
|
293
293
|
};
|
|
294
294
|
|
|
295
|
+
/**
|
|
296
|
+
* @platform android
|
|
297
|
+
*/
|
|
298
|
+
export type StreetViewCameraPosition = {
|
|
299
|
+
coordinates: Coordinates;
|
|
300
|
+
zoom?: number;
|
|
301
|
+
tilt?: number;
|
|
302
|
+
bearing?: number;
|
|
303
|
+
};
|
|
304
|
+
|
|
295
305
|
/**
|
|
296
306
|
* @platform android
|
|
297
307
|
*/
|
|
298
308
|
export type GoogleStreetViewProps = {
|
|
299
309
|
style?: StyleProp<ViewStyle>;
|
|
300
|
-
|
|
301
|
-
position?: Coordinates;
|
|
310
|
+
position: StreetViewCameraPosition;
|
|
302
311
|
isPanningGesturesEnabled?: boolean;
|
|
303
312
|
isStreetNamesEnabled?: boolean;
|
|
304
313
|
isUserNavigationEnabled?: boolean;
|