@lugg/maps 1.0.0-beta.2 → 1.0.0-beta.20
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/README.md +3 -0
- package/android/src/main/java/com/luggmaps/LuggCalloutView.kt +9 -2
- package/android/src/main/java/com/luggmaps/LuggCalloutViewManager.kt +4 -3
- package/android/src/main/java/com/luggmaps/LuggCircleView.kt +85 -0
- package/android/src/main/java/com/luggmaps/LuggCircleViewManager.kt +79 -0
- package/android/src/main/java/com/luggmaps/LuggGroundOverlayView.kt +81 -0
- package/android/src/main/java/com/luggmaps/LuggGroundOverlayViewManager.kt +82 -0
- package/android/src/main/java/com/luggmaps/LuggMapView.kt +90 -0
- package/android/src/main/java/com/luggmaps/LuggMapViewManager.kt +45 -0
- package/android/src/main/java/com/luggmaps/LuggMapWrapperView.kt +27 -2
- package/android/src/main/java/com/luggmaps/LuggMarkerView.kt +30 -2
- package/android/src/main/java/com/luggmaps/LuggMarkerViewManager.kt +13 -0
- package/android/src/main/java/com/luggmaps/LuggPackage.kt +4 -1
- package/android/src/main/java/com/luggmaps/LuggPolylineView.kt +3 -23
- package/android/src/main/java/com/luggmaps/LuggTileOverlayView.kt +92 -0
- package/android/src/main/java/com/luggmaps/LuggTileOverlayViewManager.kt +80 -0
- package/android/src/main/java/com/luggmaps/core/GoogleMapProvider.kt +676 -36
- package/android/src/main/java/com/luggmaps/core/MapProviderDelegate.kt +15 -0
- package/android/src/main/java/com/luggmaps/core/PolylineAnimator.kt +65 -11
- package/android/src/main/java/com/luggmaps/events/CirclePressEvent.kt +12 -0
- package/android/src/main/java/com/luggmaps/events/GroundOverlayPressEvent.kt +12 -0
- package/android/src/main/java/com/luggmaps/events/TileOverlayPressEvent.kt +12 -0
- package/android/src/main/java/com/luggmaps/extensions/ViewExtensions.kt +11 -0
- package/ios/LuggCalloutView.h +1 -1
- package/ios/LuggCalloutView.mm +21 -11
- package/ios/LuggCircleView.h +31 -0
- package/ios/LuggCircleView.mm +133 -0
- package/ios/LuggGroundOverlayView.h +30 -0
- package/ios/LuggGroundOverlayView.mm +125 -0
- package/ios/LuggMapView.mm +254 -4
- package/ios/LuggMapWrapperView.h +5 -0
- package/ios/LuggMapWrapperView.mm +18 -0
- package/ios/LuggMarkerView.h +3 -0
- package/ios/LuggMarkerView.mm +25 -0
- package/ios/LuggTileOverlayView.h +31 -0
- package/ios/LuggTileOverlayView.mm +130 -0
- package/ios/core/AppleMapProvider.h +8 -0
- package/ios/core/AppleMapProvider.mm +663 -29
- package/ios/core/AppleStaticMapProvider.h +14 -0
- package/ios/core/AppleStaticMapProvider.mm +159 -0
- package/ios/core/GMSPolylineAnimator.m +46 -18
- package/ios/core/GoogleMapProvider.h +10 -0
- package/ios/core/GoogleMapProvider.mm +430 -51
- package/ios/core/GoogleStaticMapProvider.h +21 -0
- package/ios/core/GoogleStaticMapProvider.mm +213 -0
- package/ios/core/MKPolylineAnimator.m +67 -43
- package/ios/core/MapProviderDelegate.h +27 -1
- package/ios/core/StaticMapProviderBase.h +75 -0
- package/ios/core/StaticMapProviderBase.mm +845 -0
- package/ios/events/CameraIdleEvent.h +4 -2
- package/ios/events/CameraMoveEvent.h +4 -2
- package/ios/events/CirclePressEvent.h +22 -0
- package/ios/events/GroundOverlayPressEvent.h +22 -0
- package/ios/events/LongPressEvent.h +4 -2
- package/ios/events/MarkerDragEvent.h +12 -6
- package/ios/events/MarkerPressEvent.h +4 -2
- package/ios/events/PolygonPressEvent.h +4 -2
- package/ios/events/PressEvent.h +4 -2
- package/ios/events/ReadyEvent.h +4 -2
- package/ios/events/TileOverlayPressEvent.h +22 -0
- package/ios/extensions/MKMapView+Zoom.h +20 -0
- package/ios/extensions/MKMapView+Zoom.m +28 -18
- package/ios/extensions/UIView+Snapshot.h +16 -0
- package/ios/extensions/UIView+Snapshot.m +27 -0
- package/lib/module/MapProvider.web.js +4 -1
- package/lib/module/MapProvider.web.js.map +1 -1
- package/lib/module/MapView.js +19 -1
- package/lib/module/MapView.js.map +1 -1
- package/lib/module/MapView.web.js +30 -22
- package/lib/module/MapView.web.js.map +1 -1
- package/lib/module/components/Circle.js +46 -0
- package/lib/module/components/Circle.js.map +1 -0
- package/lib/module/components/Circle.types.js +4 -0
- package/lib/module/components/Circle.types.js.map +1 -0
- package/lib/module/components/Circle.web.js +79 -0
- package/lib/module/components/Circle.web.js.map +1 -0
- package/lib/module/components/GeoJson.js +3 -3
- package/lib/module/components/GeoJson.js.map +1 -1
- package/lib/module/components/GroundOverlay.js +45 -0
- package/lib/module/components/GroundOverlay.js.map +1 -0
- package/lib/module/components/GroundOverlay.types.js +4 -0
- package/lib/module/components/GroundOverlay.types.js.map +1 -0
- package/lib/module/components/GroundOverlay.web.js +77 -0
- package/lib/module/components/GroundOverlay.web.js.map +1 -0
- package/lib/module/components/Marker.js +22 -4
- package/lib/module/components/Marker.js.map +1 -1
- package/lib/module/components/Marker.web.js +23 -10
- package/lib/module/components/Marker.web.js.map +1 -1
- package/lib/module/components/Polygon.web.js +3 -3
- package/lib/module/components/Polygon.web.js.map +1 -1
- package/lib/module/components/Polyline.web.js +6 -12
- package/lib/module/components/Polyline.web.js.map +1 -1
- package/lib/module/components/TileOverlay.js +44 -0
- package/lib/module/components/TileOverlay.js.map +1 -0
- package/lib/module/components/TileOverlay.types.js +4 -0
- package/lib/module/components/TileOverlay.types.js.map +1 -0
- package/lib/module/components/TileOverlay.web.js +69 -0
- package/lib/module/components/TileOverlay.web.js.map +1 -0
- package/lib/module/components/index.js +3 -0
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/components/index.web.js +3 -0
- package/lib/module/components/index.web.js.map +1 -1
- package/lib/module/fabric/LuggCalloutViewNativeComponent.ts +1 -1
- package/lib/module/fabric/LuggCircleViewNativeComponent.ts +25 -0
- package/lib/module/fabric/LuggGroundOverlayViewNativeComponent.ts +29 -0
- package/lib/module/fabric/LuggMapViewNativeComponent.ts +16 -5
- package/lib/module/fabric/LuggMarkerViewNativeComponent.ts +14 -2
- package/lib/module/fabric/LuggTileOverlayViewNativeComponent.ts +30 -0
- package/lib/module/index.js +3 -0
- package/lib/module/index.js.map +1 -1
- package/lib/module/index.web.js +3 -0
- package/lib/module/index.web.js.map +1 -1
- package/lib/typescript/src/MapProvider.web.d.ts +3 -2
- package/lib/typescript/src/MapProvider.web.d.ts.map +1 -1
- package/lib/typescript/src/MapView.d.ts +1 -1
- package/lib/typescript/src/MapView.d.ts.map +1 -1
- package/lib/typescript/src/MapView.types.d.ts +60 -1
- package/lib/typescript/src/MapView.types.d.ts.map +1 -1
- package/lib/typescript/src/MapView.web.d.ts +1 -1
- package/lib/typescript/src/MapView.web.d.ts.map +1 -1
- package/lib/typescript/src/components/Circle.d.ts +10 -0
- package/lib/typescript/src/components/Circle.d.ts.map +1 -0
- package/lib/typescript/src/components/Circle.types.d.ts +33 -0
- package/lib/typescript/src/components/Circle.types.d.ts.map +1 -0
- package/lib/typescript/src/components/Circle.web.d.ts +3 -0
- package/lib/typescript/src/components/Circle.web.d.ts.map +1 -0
- package/lib/typescript/src/components/GeoJson.d.ts +2 -1
- package/lib/typescript/src/components/GeoJson.d.ts.map +1 -1
- package/lib/typescript/src/components/GroundOverlay.d.ts +10 -0
- package/lib/typescript/src/components/GroundOverlay.d.ts.map +1 -0
- package/lib/typescript/src/components/GroundOverlay.types.d.ts +35 -0
- package/lib/typescript/src/components/GroundOverlay.types.d.ts.map +1 -0
- package/lib/typescript/src/components/GroundOverlay.web.d.ts +3 -0
- package/lib/typescript/src/components/GroundOverlay.web.d.ts.map +1 -0
- package/lib/typescript/src/components/Marker.d.ts +6 -3
- package/lib/typescript/src/components/Marker.d.ts.map +1 -1
- package/lib/typescript/src/components/Marker.types.d.ts +18 -6
- package/lib/typescript/src/components/Marker.types.d.ts.map +1 -1
- package/lib/typescript/src/components/Marker.web.d.ts +3 -2
- package/lib/typescript/src/components/Marker.web.d.ts.map +1 -1
- package/lib/typescript/src/components/Polygon.web.d.ts +1 -1
- package/lib/typescript/src/components/Polygon.web.d.ts.map +1 -1
- package/lib/typescript/src/components/Polyline.web.d.ts +1 -1
- package/lib/typescript/src/components/Polyline.web.d.ts.map +1 -1
- package/lib/typescript/src/components/TileOverlay.d.ts +10 -0
- package/lib/typescript/src/components/TileOverlay.d.ts.map +1 -0
- package/lib/typescript/src/components/TileOverlay.types.d.ts +36 -0
- package/lib/typescript/src/components/TileOverlay.types.d.ts.map +1 -0
- package/lib/typescript/src/components/TileOverlay.web.d.ts +3 -0
- package/lib/typescript/src/components/TileOverlay.web.d.ts.map +1 -0
- package/lib/typescript/src/components/index.d.ts +7 -1
- package/lib/typescript/src/components/index.d.ts.map +1 -1
- package/lib/typescript/src/components/index.web.d.ts +6 -0
- package/lib/typescript/src/components/index.web.d.ts.map +1 -1
- package/lib/typescript/src/fabric/LuggCalloutViewNativeComponent.d.ts +1 -1
- package/lib/typescript/src/fabric/LuggCircleViewNativeComponent.d.ts +18 -0
- package/lib/typescript/src/fabric/LuggCircleViewNativeComponent.d.ts.map +1 -0
- package/lib/typescript/src/fabric/LuggGroundOverlayViewNativeComponent.d.ts +21 -0
- package/lib/typescript/src/fabric/LuggGroundOverlayViewNativeComponent.d.ts.map +1 -0
- package/lib/typescript/src/fabric/LuggMapViewNativeComponent.d.ts +13 -5
- package/lib/typescript/src/fabric/LuggMapViewNativeComponent.d.ts.map +1 -1
- package/lib/typescript/src/fabric/LuggMarkerViewNativeComponent.d.ts +8 -1
- package/lib/typescript/src/fabric/LuggMarkerViewNativeComponent.d.ts.map +1 -1
- package/lib/typescript/src/fabric/LuggTileOverlayViewNativeComponent.d.ts +21 -0
- package/lib/typescript/src/fabric/LuggTileOverlayViewNativeComponent.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts +9 -3
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/index.web.d.ts +7 -1
- package/lib/typescript/src/index.web.d.ts.map +1 -1
- package/lib/typescript/src/types.d.ts +0 -4
- package/lib/typescript/src/types.d.ts.map +1 -1
- package/package.json +17 -11
- package/src/MapProvider.web.tsx +5 -3
- package/src/MapView.tsx +19 -1
- package/src/MapView.types.ts +142 -1
- package/src/MapView.web.tsx +379 -340
- package/src/components/Circle.tsx +52 -0
- package/src/components/Circle.types.ts +33 -0
- package/src/components/Circle.web.tsx +95 -0
- package/src/components/GeoJson.tsx +3 -3
- package/src/components/GroundOverlay.tsx +47 -0
- package/src/components/GroundOverlay.types.ts +36 -0
- package/src/components/GroundOverlay.web.tsx +81 -0
- package/src/components/Marker.tsx +32 -6
- package/src/components/Marker.types.ts +19 -6
- package/src/components/Marker.web.tsx +196 -150
- package/src/components/Polygon.web.tsx +93 -89
- package/src/components/Polyline.web.tsx +235 -235
- package/src/components/TileOverlay.tsx +44 -0
- package/src/components/TileOverlay.types.ts +37 -0
- package/src/components/TileOverlay.web.tsx +97 -0
- package/src/components/index.ts +10 -0
- package/src/components/index.web.ts +9 -0
- package/src/fabric/LuggCalloutViewNativeComponent.ts +1 -1
- package/src/fabric/LuggCircleViewNativeComponent.ts +25 -0
- package/src/fabric/LuggGroundOverlayViewNativeComponent.ts +29 -0
- package/src/fabric/LuggMapViewNativeComponent.ts +16 -5
- package/src/fabric/LuggMarkerViewNativeComponent.ts +14 -2
- package/src/fabric/LuggTileOverlayViewNativeComponent.ts +30 -0
- package/src/index.ts +12 -1
- package/src/index.web.ts +15 -0
- package/src/types.ts +0 -5
- package/plugin/build/withMapsAndroid.d.ts +0 -5
- package/plugin/build/withMapsAndroid.js +0 -15
- package/plugin/build/withMapsIOS.d.ts +0 -5
- package/plugin/build/withMapsIOS.js +0 -27
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
2
|
import type { NativeSyntheticEvent, ViewProps } from 'react-native';
|
|
3
|
-
import type { MapProvider, Coordinate, EdgeInsets,
|
|
3
|
+
import type { MapProvider, Coordinate, EdgeInsets, PressEventPayload } from './types';
|
|
4
|
+
export type MapType = 'standard' | 'satellite' | 'terrain' | 'hybrid' | 'muted-standard';
|
|
5
|
+
export type MapTheme = 'light' | 'dark' | 'system';
|
|
6
|
+
export type InsetAdjustment = 'automatic' | 'never';
|
|
7
|
+
export type PoiCategory = 'airport' | 'amusement-park' | 'animal-service' | 'aquarium' | 'atm' | 'automotive-repair' | 'bakery' | 'bank' | 'baseball' | 'basketball' | 'beach' | 'beauty' | 'bowling' | 'brewery' | 'cafe' | 'campground' | 'car-rental' | 'castle' | 'convention-center' | 'distillery' | 'ev-charger' | 'fairground' | 'fire-station' | 'fishing' | 'fitness-center' | 'food-market' | 'fortress' | 'gas-station' | 'go-kart' | 'golf' | 'hiking' | 'hospital' | 'hotel' | 'kayaking' | 'landmark' | 'laundry' | 'library' | 'mailbox' | 'marina' | 'mini-golf' | 'movie-theater' | 'museum' | 'music-venue' | 'national-monument' | 'national-park' | 'nightlife' | 'park' | 'parking' | 'pharmacy' | 'planetarium' | 'police' | 'post-office' | 'public-transport' | 'restaurant' | 'restroom' | 'rock-climbing' | 'rv-park' | 'school' | 'skate-park' | 'skating' | 'skiing' | 'soccer' | 'spa' | 'stadium' | 'store' | 'surfing' | 'swimming' | 'tennis' | 'theater' | 'university' | 'volleyball' | 'winery' | 'zoo';
|
|
8
|
+
export interface PoiFilter {
|
|
9
|
+
/**
|
|
10
|
+
* Filter mode
|
|
11
|
+
* @default 'including'
|
|
12
|
+
*/
|
|
13
|
+
mode?: 'including' | 'excluding';
|
|
14
|
+
categories: PoiCategory[];
|
|
15
|
+
}
|
|
4
16
|
/**
|
|
5
17
|
* Options for moving the camera
|
|
6
18
|
*/
|
|
@@ -48,6 +60,11 @@ export interface MapViewProps extends ViewProps {
|
|
|
48
60
|
* @default 'apple' on iOS, 'google' on Android
|
|
49
61
|
*/
|
|
50
62
|
provider?: MapProvider;
|
|
63
|
+
/**
|
|
64
|
+
* Map type to display
|
|
65
|
+
* @default 'standard'
|
|
66
|
+
*/
|
|
67
|
+
mapType?: MapType;
|
|
51
68
|
/**
|
|
52
69
|
* Map style ID (Google Maps) or configuration name (Apple Maps)
|
|
53
70
|
*/
|
|
@@ -89,6 +106,30 @@ export interface MapViewProps extends ViewProps {
|
|
|
89
106
|
* @default true
|
|
90
107
|
*/
|
|
91
108
|
pitchEnabled?: boolean;
|
|
109
|
+
/**
|
|
110
|
+
* Show compass on the map.
|
|
111
|
+
* On web (Google Maps) this toggles the rotate/compass control.
|
|
112
|
+
* @default true
|
|
113
|
+
*/
|
|
114
|
+
compassEnabled?: boolean;
|
|
115
|
+
/**
|
|
116
|
+
* Render the map as a non-interactive, static map.
|
|
117
|
+
* Uses Google Maps lite mode on Android. On iOS, the map is replaced
|
|
118
|
+
* with a rendered snapshot once tiles finish loading, releasing the
|
|
119
|
+
* live map resources. Ideal for maps inside list views.
|
|
120
|
+
* Cannot be changed after the map is created.
|
|
121
|
+
* @default false
|
|
122
|
+
*/
|
|
123
|
+
staticMode?: boolean;
|
|
124
|
+
/**
|
|
125
|
+
* Stable identity for the static snapshot cache (iOS). When set, a map
|
|
126
|
+
* remounted with the same key (and same size, provider, and map settings)
|
|
127
|
+
* reuses its cached snapshot instead of rendering a live map again -
|
|
128
|
+
* e.g. set it to your list item's id. The key must uniquely identify the
|
|
129
|
+
* map's content, including markers and other children.
|
|
130
|
+
* Only used with staticMode.
|
|
131
|
+
*/
|
|
132
|
+
staticKey?: string;
|
|
92
133
|
/**
|
|
93
134
|
* Map content edge insets
|
|
94
135
|
*/
|
|
@@ -105,11 +146,29 @@ export interface MapViewProps extends ViewProps {
|
|
|
105
146
|
* @platform android
|
|
106
147
|
*/
|
|
107
148
|
userLocationButtonEnabled?: boolean;
|
|
149
|
+
/**
|
|
150
|
+
* Show points of interest on the map (Apple Maps only).
|
|
151
|
+
* When false, hides all POIs regardless of poiFilter.
|
|
152
|
+
* @default true
|
|
153
|
+
* @platform ios
|
|
154
|
+
*/
|
|
155
|
+
poiEnabled?: boolean;
|
|
156
|
+
/**
|
|
157
|
+
* Filter POI categories to show or hide (Apple Maps only).
|
|
158
|
+
* Only takes effect when poiEnabled is true.
|
|
159
|
+
* @platform ios
|
|
160
|
+
*/
|
|
161
|
+
poiFilter?: PoiFilter;
|
|
108
162
|
/**
|
|
109
163
|
* Map color theme
|
|
110
164
|
* @default 'system'
|
|
111
165
|
*/
|
|
112
166
|
theme?: MapTheme;
|
|
167
|
+
/**
|
|
168
|
+
* Safe area inset adjustment behavior
|
|
169
|
+
* @default 'never'
|
|
170
|
+
*/
|
|
171
|
+
insetAdjustment?: InsetAdjustment;
|
|
113
172
|
/**
|
|
114
173
|
* Called when the map is pressed
|
|
115
174
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MapView.types.d.ts","sourceRoot":"","sources":["../../../src/MapView.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACpE,OAAO,KAAK,EACV,WAAW,EACX,UAAU,EACV,UAAU,EACV,QAAQ,
|
|
1
|
+
{"version":3,"file":"MapView.types.d.ts","sourceRoot":"","sources":["../../../src/MapView.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACpE,OAAO,KAAK,EACV,WAAW,EACX,UAAU,EACV,UAAU,EACV,iBAAiB,EAClB,MAAM,SAAS,CAAC;AAEjB,MAAM,MAAM,OAAO,GACf,UAAU,GACV,WAAW,GACX,SAAS,GACT,QAAQ,GACR,gBAAgB,CAAC;AAErB,MAAM,MAAM,QAAQ,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAC;AAEnD,MAAM,MAAM,eAAe,GAAG,WAAW,GAAG,OAAO,CAAC;AAEpD,MAAM,MAAM,WAAW,GACnB,SAAS,GACT,gBAAgB,GAChB,gBAAgB,G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ACzB;;;;;;;OAOG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;;;;OAOG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;;;OAIG;IACH,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC;;;;;OAKG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;OAIG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB;;;OAGG;IACH,KAAK,CAAC,EAAE,QAAQ,CAAC;IACjB;;;OAGG;IACH,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;IACzC;;OAEG;IACH,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;IAC7C;;OAEG;IACH,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,cAAc,KAAK,IAAI,CAAC;IAC/C;;OAEG;IACH,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,cAAc,KAAK,IAAI,CAAC;IAC/C;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { MapViewProps, MapViewRef } from './MapView.types';
|
|
2
|
-
export declare const MapView: import("react").
|
|
2
|
+
export declare const MapView: import("react").NamedExoticComponent<MapViewProps & import("react").RefAttributes<MapViewRef>>;
|
|
3
3
|
//# sourceMappingURL=MapView.web.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MapView.web.d.ts","sourceRoot":"","sources":["../../../src/MapView.web.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MapView.web.d.ts","sourceRoot":"","sources":["../../../src/MapView.web.tsx"],"names":[],"mappings":"AAyBA,OAAO,KAAK,EACV,YAAY,EACZ,UAAU,EAKX,MAAM,iBAAiB,CAAC;AAoEzB,eAAO,MAAM,OAAO,gGA2ZnB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { CircleProps } from './Circle.types';
|
|
3
|
+
export type { CircleProps } from './Circle.types';
|
|
4
|
+
export declare class Circle extends React.PureComponent<CircleProps> {
|
|
5
|
+
private _cachedZIndex;
|
|
6
|
+
private _cachedStyle;
|
|
7
|
+
private getStyle;
|
|
8
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=Circle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Circle.d.ts","sourceRoot":"","sources":["../../../../src/components/Circle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAElD,YAAY,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAElD,qBAAa,MAAO,SAAQ,KAAK,CAAC,aAAa,CAAC,WAAW,CAAC;IAC1D,OAAO,CAAC,aAAa,CAAqB;IAC1C,OAAO,CAAC,YAAY,CAAM;IAE1B,OAAO,CAAC,QAAQ;IAShB,MAAM;CAwBP"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { ColorValue } from 'react-native';
|
|
2
|
+
import type { Coordinate } from '../types';
|
|
3
|
+
export interface CircleProps {
|
|
4
|
+
/**
|
|
5
|
+
* Center coordinate of the circle
|
|
6
|
+
*/
|
|
7
|
+
center: Coordinate;
|
|
8
|
+
/**
|
|
9
|
+
* Radius in meters
|
|
10
|
+
*/
|
|
11
|
+
radius: number;
|
|
12
|
+
/**
|
|
13
|
+
* Stroke (outline) color
|
|
14
|
+
*/
|
|
15
|
+
strokeColor?: ColorValue;
|
|
16
|
+
/**
|
|
17
|
+
* Stroke width in points
|
|
18
|
+
*/
|
|
19
|
+
strokeWidth?: number;
|
|
20
|
+
/**
|
|
21
|
+
* Fill color of the circle
|
|
22
|
+
*/
|
|
23
|
+
fillColor?: ColorValue;
|
|
24
|
+
/**
|
|
25
|
+
* Z-index for layering
|
|
26
|
+
*/
|
|
27
|
+
zIndex?: number;
|
|
28
|
+
/**
|
|
29
|
+
* Called when the circle is tapped
|
|
30
|
+
*/
|
|
31
|
+
onPress?: () => void;
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=Circle.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Circle.types.d.ts","sourceRoot":"","sources":["../../../../src/components/Circle.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAE3C,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,MAAM,EAAE,UAAU,CAAC;IACnB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,WAAW,CAAC,EAAE,UAAU,CAAC;IACzB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,SAAS,CAAC,EAAE,UAAU,CAAC;IACvB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Circle.web.d.ts","sourceRoot":"","sources":["../../../../src/components/Circle.web.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAElD,eAAO,MAAM,MAAM,kHASd,WAAW,UAiFf,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import type { GeoJsonProps } from './GeoJson.types';
|
|
2
3
|
export type { GeoJsonProps } from './GeoJson.types';
|
|
3
|
-
export declare const GeoJson: (props: GeoJsonProps) => import("react/jsx-runtime").JSX.Element
|
|
4
|
+
export declare const GeoJson: React.MemoExoticComponent<(props: GeoJsonProps) => import("react/jsx-runtime").JSX.Element>;
|
|
4
5
|
//# sourceMappingURL=GeoJson.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GeoJson.d.ts","sourceRoot":"","sources":["../../../../src/components/GeoJson.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"GeoJson.d.ts","sourceRoot":"","sources":["../../../../src/components/GeoJson.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAShE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAQpD,YAAY,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAwLpD,eAAO,MAAM,OAAO,oCAAgB,YAAY,6CAmB9C,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { GroundOverlayProps } from './GroundOverlay.types';
|
|
3
|
+
export type { GroundOverlayProps, GroundOverlayBounds, } from './GroundOverlay.types';
|
|
4
|
+
export declare class GroundOverlay extends React.PureComponent<GroundOverlayProps> {
|
|
5
|
+
private _cachedZIndex;
|
|
6
|
+
private _cachedStyle;
|
|
7
|
+
private getStyle;
|
|
8
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=GroundOverlay.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GroundOverlay.d.ts","sourceRoot":"","sources":["../../../../src/components/GroundOverlay.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAEhE,YAAY,EACV,kBAAkB,EAClB,mBAAmB,GACpB,MAAM,uBAAuB,CAAC;AAE/B,qBAAa,aAAc,SAAQ,KAAK,CAAC,aAAa,CAAC,kBAAkB,CAAC;IACxE,OAAO,CAAC,aAAa,CAAqB;IAC1C,OAAO,CAAC,YAAY,CAAM;IAE1B,OAAO,CAAC,QAAQ;IAShB,MAAM;CAgBP"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { ImageSourcePropType } from 'react-native';
|
|
2
|
+
import type { Coordinate } from '../types';
|
|
3
|
+
export interface GroundOverlayBounds {
|
|
4
|
+
northeast: Coordinate;
|
|
5
|
+
southwest: Coordinate;
|
|
6
|
+
}
|
|
7
|
+
export interface GroundOverlayProps {
|
|
8
|
+
/**
|
|
9
|
+
* Image to overlay on the map
|
|
10
|
+
*/
|
|
11
|
+
image: ImageSourcePropType;
|
|
12
|
+
/**
|
|
13
|
+
* Geographic bounds for the overlay
|
|
14
|
+
*/
|
|
15
|
+
bounds: GroundOverlayBounds;
|
|
16
|
+
/**
|
|
17
|
+
* Opacity of the overlay (0-1)
|
|
18
|
+
*/
|
|
19
|
+
opacity?: number;
|
|
20
|
+
/**
|
|
21
|
+
* Bearing (rotation) in degrees clockwise from north.
|
|
22
|
+
* Only supported on Google Maps.
|
|
23
|
+
* @platform google
|
|
24
|
+
*/
|
|
25
|
+
bearing?: number;
|
|
26
|
+
/**
|
|
27
|
+
* Z-index for layering
|
|
28
|
+
*/
|
|
29
|
+
zIndex?: number;
|
|
30
|
+
/**
|
|
31
|
+
* Called when the overlay is tapped
|
|
32
|
+
*/
|
|
33
|
+
onPress?: () => void;
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=GroundOverlay.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GroundOverlay.types.d.ts","sourceRoot":"","sources":["../../../../src/components/GroundOverlay.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AACxD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAE3C,MAAM,WAAW,mBAAmB;IAClC,SAAS,EAAE,UAAU,CAAC;IACtB,SAAS,EAAE,UAAU,CAAC;CACvB;AAED,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,KAAK,EAAE,mBAAmB,CAAC;IAC3B;;OAEG;IACH,MAAM,EAAE,mBAAmB,CAAC;IAC5B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GroundOverlay.web.d.ts","sourceRoot":"","sources":["../../../../src/components/GroundOverlay.web.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAEhE,eAAO,MAAM,aAAa,oFAC8B,kBAAkB,UA2EzE,CAAC"}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { MarkerProps } from './Marker.types';
|
|
3
|
-
export type { CalloutOptions, MarkerProps, MarkerPressEvent, MarkerDragEvent, } from './Marker.types';
|
|
4
|
-
export declare class Marker extends React.PureComponent<MarkerProps> {
|
|
2
|
+
import type { MarkerProps, MarkerRef } from './Marker.types';
|
|
3
|
+
export type { CalloutOptions, MarkerRef, MarkerProps, MarkerPressEvent, MarkerDragEvent, } from './Marker.types';
|
|
4
|
+
export declare class Marker extends React.PureComponent<MarkerProps> implements MarkerRef {
|
|
5
|
+
private nativeRef;
|
|
6
|
+
showCallout(): void;
|
|
7
|
+
hideCallout(): void;
|
|
5
8
|
private getStyle;
|
|
6
9
|
private _cachedZIndex;
|
|
7
10
|
private _cachedStyle;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Marker.d.ts","sourceRoot":"","sources":["../../../../src/components/Marker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Marker.d.ts","sourceRoot":"","sources":["../../../../src/components/Marker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyB,MAAM,OAAO,CAAC;AAM9C,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAG7D,YAAY,EACV,cAAc,EACd,SAAS,EACT,WAAW,EACX,gBAAgB,EAChB,eAAe,GAChB,MAAM,gBAAgB,CAAC;AAIxB,qBAAa,MACX,SAAQ,KAAK,CAAC,aAAa,CAAC,WAAW,CACvC,YAAW,SAAS;IAEpB,OAAO,CAAC,SAAS,CAA0B;IAE3C,WAAW;IAMX,WAAW;IAMX,OAAO,CAAC,QAAQ;IAShB,OAAO,CAAC,aAAa,CAAqB;IAC1C,OAAO,CAAC,YAAY,CAAM;IAE1B,MAAM;CA8DP"}
|
|
@@ -12,13 +12,17 @@ export interface CalloutOptions {
|
|
|
12
12
|
*/
|
|
13
13
|
bubbled?: boolean;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
16
|
-
* `
|
|
15
|
+
* Pixel offset for non-bubbled callouts from their default centered position above the marker.
|
|
16
|
+
* Positive `x` moves right, positive `y` moves down.
|
|
17
|
+
* Only applies when `bubbled` is `false`.
|
|
17
18
|
*
|
|
18
|
-
* @
|
|
19
|
-
* @default {x: 0.5, y: 1}
|
|
19
|
+
* @default {x: 0, y: 0}
|
|
20
20
|
*/
|
|
21
|
-
|
|
21
|
+
offset?: Point;
|
|
22
|
+
}
|
|
23
|
+
export interface MarkerRef {
|
|
24
|
+
showCallout(): void;
|
|
25
|
+
hideCallout(): void;
|
|
22
26
|
}
|
|
23
27
|
export interface MarkerProps {
|
|
24
28
|
/**
|
|
@@ -38,7 +42,10 @@ export interface MarkerProps {
|
|
|
38
42
|
*/
|
|
39
43
|
description?: string;
|
|
40
44
|
/**
|
|
41
|
-
* Anchor point for custom marker views
|
|
45
|
+
* Anchor point for custom marker views.
|
|
46
|
+
* `{x: 0.5, y: 1}` places the bottom-center of the marker at the coordinate.
|
|
47
|
+
*
|
|
48
|
+
* @default {x: 0.5, y: 1}
|
|
42
49
|
*/
|
|
43
50
|
anchor?: Point;
|
|
44
51
|
/**
|
|
@@ -62,6 +69,11 @@ export interface MarkerProps {
|
|
|
62
69
|
* @default true
|
|
63
70
|
*/
|
|
64
71
|
rasterize?: boolean;
|
|
72
|
+
/**
|
|
73
|
+
* Whether the map centers on the marker when pressed.
|
|
74
|
+
* @default true
|
|
75
|
+
*/
|
|
76
|
+
centerOnPress?: boolean;
|
|
65
77
|
/**
|
|
66
78
|
* Whether the marker can be dragged by the user.
|
|
67
79
|
* @default false
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Marker.types.d.ts","sourceRoot":"","sources":["../../../../src/components/Marker.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACpE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AACzD,OAAO,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAErE,MAAM,MAAM,gBAAgB,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AACvE,MAAM,MAAM,eAAe,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAEtE,MAAM,WAAW,cAAc;IAC7B;;;;;OAKG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC;CAChB;AAED,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,UAAU,EAAE,UAAU,CAAC;IACvB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB
|
|
1
|
+
{"version":3,"file":"Marker.types.d.ts","sourceRoot":"","sources":["../../../../src/components/Marker.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACpE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AACzD,OAAO,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAErE,MAAM,MAAM,gBAAgB,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AACvE,MAAM,MAAM,eAAe,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAEtE,MAAM,WAAW,cAAc;IAC7B;;;;;OAKG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC;CAChB;AAED,MAAM,WAAW,SAAS;IACxB,WAAW,IAAI,IAAI,CAAC;IACpB,WAAW,IAAI,IAAI,CAAC;CACrB;AAED,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,UAAU,EAAE,UAAU,CAAC;IACvB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC;IACf;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;;OAKG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,gBAAgB,KAAK,IAAI,CAAC;IAC5C;;OAEG;IACH,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,eAAe,KAAK,IAAI,CAAC;IAC/C;;OAEG;IACH,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,eAAe,KAAK,IAAI,CAAC;IAChD;;OAEG;IACH,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,eAAe,KAAK,IAAI,CAAC;IAC7C;;;OAGG;IACH,OAAO,CAAC,EAAE,aAAa,CAAC,OAAO,CAAC,GAAG,YAAY,CAAC;IAChD;;OAEG;IACH,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { MarkerProps, MarkerRef } from './Marker.types';
|
|
3
|
+
export declare const Marker: React.NamedExoticComponent<MarkerProps & React.RefAttributes<MarkerRef>>;
|
|
3
4
|
//# sourceMappingURL=Marker.web.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Marker.web.d.ts","sourceRoot":"","sources":["../../../../src/components/Marker.web.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Marker.web.d.ts","sourceRoot":"","sources":["../../../../src/components/Marker.web.tsx"],"names":[],"mappings":"AAAA,OAAO,KASN,MAAM,OAAO,CAAC;AAOf,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AA+C7D,eAAO,MAAM,MAAM,0EAgMlB,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { PolygonProps } from './Polygon.types';
|
|
2
|
-
export declare const Polygon: ({ coordinates, holes, strokeColor, strokeWidth, fillColor, zIndex, onPress, }: PolygonProps) => null
|
|
2
|
+
export declare const Polygon: import("react").MemoExoticComponent<({ coordinates, holes, strokeColor, strokeWidth, fillColor, zIndex, onPress, }: PolygonProps) => null>;
|
|
3
3
|
//# sourceMappingURL=Polygon.web.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Polygon.web.d.ts","sourceRoot":"","sources":["../../../../src/components/Polygon.web.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAEpD,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"Polygon.web.d.ts","sourceRoot":"","sources":["../../../../src/components/Polygon.web.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAEpD,eAAO,MAAM,OAAO,sHASf,YAAY,UA8FhB,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { PolylineProps } from './Polyline.types';
|
|
2
|
-
export declare const Polyline: ({ coordinates, strokeColors, strokeWidth, animated, animatedOptions, zIndex, }: PolylineProps) => null
|
|
2
|
+
export declare const Polyline: import("react").MemoExoticComponent<({ coordinates, strokeColors, strokeWidth, animated, animatedOptions, zIndex, }: PolylineProps) => null>;
|
|
3
3
|
//# sourceMappingURL=Polyline.web.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Polyline.web.d.ts","sourceRoot":"","sources":["../../../../src/components/Polyline.web.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAkB,MAAM,kBAAkB,CAAC;AAmDtE,eAAO,MAAM,QAAQ,
|
|
1
|
+
{"version":3,"file":"Polyline.web.d.ts","sourceRoot":"","sources":["../../../../src/components/Polyline.web.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAkB,MAAM,kBAAkB,CAAC;AAmDtE,eAAO,MAAM,QAAQ,uHAQhB,aAAa,UAkQjB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { TileOverlayProps } from './TileOverlay.types';
|
|
3
|
+
export type { TileOverlayProps } from './TileOverlay.types';
|
|
4
|
+
export declare class TileOverlay extends React.PureComponent<TileOverlayProps> {
|
|
5
|
+
private _cachedZIndex;
|
|
6
|
+
private _cachedStyle;
|
|
7
|
+
private getStyle;
|
|
8
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=TileOverlay.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TileOverlay.d.ts","sourceRoot":"","sources":["../../../../src/components/TileOverlay.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAE5D,YAAY,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAE5D,qBAAa,WAAY,SAAQ,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC;IACpE,OAAO,CAAC,aAAa,CAAqB;IAC1C,OAAO,CAAC,YAAY,CAAM;IAE1B,OAAO,CAAC,QAAQ;IAShB,MAAM;CAgBP"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { Coordinate } from '../types';
|
|
2
|
+
export interface TileOverlayBounds {
|
|
3
|
+
northeast: Coordinate;
|
|
4
|
+
southwest: Coordinate;
|
|
5
|
+
}
|
|
6
|
+
export interface TileOverlayProps {
|
|
7
|
+
/**
|
|
8
|
+
* URL template for tile images.
|
|
9
|
+
* Use `{x}`, `{y}`, `{z}` placeholders for tile coordinates and zoom level.
|
|
10
|
+
* @example "https://tile.openstreetmap.org/{z}/{x}/{y}.png"
|
|
11
|
+
*/
|
|
12
|
+
urlTemplate: string;
|
|
13
|
+
/**
|
|
14
|
+
* Size of each tile in pixels
|
|
15
|
+
* @default 256
|
|
16
|
+
*/
|
|
17
|
+
tileSize?: number;
|
|
18
|
+
/**
|
|
19
|
+
* Opacity of the tile overlay (0-1)
|
|
20
|
+
*/
|
|
21
|
+
opacity?: number;
|
|
22
|
+
/**
|
|
23
|
+
* Restrict tiles to a geographic region.
|
|
24
|
+
* Tiles outside these bounds will not be loaded.
|
|
25
|
+
*/
|
|
26
|
+
bounds?: TileOverlayBounds;
|
|
27
|
+
/**
|
|
28
|
+
* Z-index for layering
|
|
29
|
+
*/
|
|
30
|
+
zIndex?: number;
|
|
31
|
+
/**
|
|
32
|
+
* Called when the tile overlay is tapped
|
|
33
|
+
*/
|
|
34
|
+
onPress?: () => void;
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=TileOverlay.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TileOverlay.types.d.ts","sourceRoot":"","sources":["../../../../src/components/TileOverlay.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAE3C,MAAM,WAAW,iBAAiB;IAChC,SAAS,EAAE,UAAU,CAAC;IACtB,SAAS,EAAE,UAAU,CAAC;CACvB;AAED,MAAM,WAAW,gBAAgB;IAC/B;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TileOverlay.web.d.ts","sourceRoot":"","sources":["../../../../src/components/TileOverlay.web.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAE5D,eAAO,MAAM,WAAW,qGAQnB,gBAAgB,UAoFpB,CAAC"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
export { Marker } from './Marker';
|
|
2
|
-
export type { CalloutOptions, MarkerProps, MarkerPressEvent, MarkerDragEvent, } from './Marker.types';
|
|
2
|
+
export type { CalloutOptions, MarkerRef, MarkerProps, MarkerPressEvent, MarkerDragEvent, } from './Marker.types';
|
|
3
3
|
export { Polygon } from './Polygon';
|
|
4
4
|
export type { PolygonProps } from './Polygon.types';
|
|
5
|
+
export { Circle } from './Circle';
|
|
6
|
+
export type { CircleProps } from './Circle.types';
|
|
5
7
|
export { Polyline } from './Polyline';
|
|
6
8
|
export type { PolylineProps, PolylineEasing, PolylineAnimatedOptions, } from './Polyline.types';
|
|
7
9
|
export { GeoJson } from './GeoJson';
|
|
8
10
|
export type { GeoJsonProps } from './GeoJson.types';
|
|
11
|
+
export { GroundOverlay } from './GroundOverlay';
|
|
12
|
+
export type { GroundOverlayProps, GroundOverlayBounds, } from './GroundOverlay.types';
|
|
13
|
+
export { TileOverlay } from './TileOverlay';
|
|
14
|
+
export type { TileOverlayProps, TileOverlayBounds } from './TileOverlay.types';
|
|
9
15
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EACV,cAAc,EACd,WAAW,EACX,gBAAgB,EAChB,eAAe,GAChB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,YAAY,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EACV,aAAa,EACb,cAAc,EACd,uBAAuB,GACxB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,YAAY,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EACV,cAAc,EACd,SAAS,EACT,WAAW,EACX,gBAAgB,EAChB,eAAe,GAChB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,YAAY,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EACV,aAAa,EACb,cAAc,EACd,uBAAuB,GACxB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,YAAY,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EACV,kBAAkB,EAClB,mBAAmB,GACpB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
export { Marker } from './Marker.web';
|
|
2
2
|
export { Polygon } from './Polygon.web';
|
|
3
|
+
export { Circle } from './Circle.web';
|
|
3
4
|
export { Polyline } from './Polyline.web';
|
|
4
5
|
export type { CalloutOptions, MarkerProps } from './Marker.types';
|
|
5
6
|
export type { PolygonProps } from './Polygon.types';
|
|
7
|
+
export type { CircleProps } from './Circle.types';
|
|
6
8
|
export type { PolylineProps } from './Polyline.types';
|
|
7
9
|
export { GeoJson } from './GeoJson';
|
|
8
10
|
export type { GeoJsonProps } from './GeoJson.types';
|
|
11
|
+
export { GroundOverlay } from './GroundOverlay.web';
|
|
12
|
+
export type { GroundOverlayProps, GroundOverlayBounds, } from './GroundOverlay.types';
|
|
13
|
+
export { TileOverlay } from './TileOverlay.web';
|
|
14
|
+
export type { TileOverlayProps, TileOverlayBounds } from './TileOverlay.types';
|
|
9
15
|
//# sourceMappingURL=index.web.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.web.d.ts","sourceRoot":"","sources":["../../../../src/components/index.web.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,YAAY,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAClE,YAAY,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,YAAY,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,YAAY,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.web.d.ts","sourceRoot":"","sources":["../../../../src/components/index.web.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,YAAY,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAClE,YAAY,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,YAAY,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAClD,YAAY,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,YAAY,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,YAAY,EACV,kBAAkB,EAClB,mBAAmB,GACpB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,YAAY,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { ViewProps, HostComponent, ColorValue } from 'react-native';
|
|
2
|
+
import type { Double, DirectEventHandler } from 'react-native/Libraries/Types/CodegenTypes';
|
|
3
|
+
export interface Coordinate {
|
|
4
|
+
latitude: Double;
|
|
5
|
+
longitude: Double;
|
|
6
|
+
}
|
|
7
|
+
export interface NativeProps extends ViewProps {
|
|
8
|
+
center: Coordinate;
|
|
9
|
+
radius?: Double;
|
|
10
|
+
strokeColor?: ColorValue;
|
|
11
|
+
strokeWidth?: Double;
|
|
12
|
+
fillColor?: ColorValue;
|
|
13
|
+
tappable?: boolean;
|
|
14
|
+
onCirclePress?: DirectEventHandler<null>;
|
|
15
|
+
}
|
|
16
|
+
declare const _default: HostComponent<NativeProps>;
|
|
17
|
+
export default _default;
|
|
18
|
+
//# sourceMappingURL=LuggCircleViewNativeComponent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LuggCircleViewNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/fabric/LuggCircleViewNativeComponent.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AACzE,OAAO,KAAK,EACV,MAAM,EACN,kBAAkB,EACnB,MAAM,2CAA2C,CAAC;AAEnD,MAAM,WAAW,UAAU;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,WAAY,SAAQ,SAAS;IAC5C,MAAM,EAAE,UAAU,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,UAAU,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,UAAU,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,kBAAkB,CAAC,IAAI,CAAC,CAAC;CAC1C;wBAII,aAAa,CAAC,WAAW,CAAC;AAF/B,wBAEgC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { ViewProps, HostComponent } from 'react-native';
|
|
2
|
+
import type { Double, DirectEventHandler } from 'react-native/Libraries/Types/CodegenTypes';
|
|
3
|
+
export interface Coordinate {
|
|
4
|
+
latitude: Double;
|
|
5
|
+
longitude: Double;
|
|
6
|
+
}
|
|
7
|
+
export interface Bounds {
|
|
8
|
+
northeast: Coordinate;
|
|
9
|
+
southwest: Coordinate;
|
|
10
|
+
}
|
|
11
|
+
export interface NativeProps extends ViewProps {
|
|
12
|
+
image: string;
|
|
13
|
+
bounds: Bounds;
|
|
14
|
+
opacity?: Double;
|
|
15
|
+
bearing?: Double;
|
|
16
|
+
tappable?: boolean;
|
|
17
|
+
onGroundOverlayPress?: DirectEventHandler<null>;
|
|
18
|
+
}
|
|
19
|
+
declare const _default: HostComponent<NativeProps>;
|
|
20
|
+
export default _default;
|
|
21
|
+
//# sourceMappingURL=LuggGroundOverlayViewNativeComponent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LuggGroundOverlayViewNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/fabric/LuggGroundOverlayViewNativeComponent.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7D,OAAO,KAAK,EACV,MAAM,EACN,kBAAkB,EACnB,MAAM,2CAA2C,CAAC;AAEnD,MAAM,WAAW,UAAU;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,MAAM;IACrB,SAAS,EAAE,UAAU,CAAC;IACtB,SAAS,EAAE,UAAU,CAAC;CACvB;AAED,MAAM,WAAW,WAAY,SAAQ,SAAS;IAC5C,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,oBAAoB,CAAC,EAAE,kBAAkB,CAAC,IAAI,CAAC,CAAC;CACjD;wBAII,aAAa,CAAC,WAAW,CAAC;AAF/B,wBAEgC"}
|
|
@@ -50,19 +50,27 @@ export interface ReadyEvent {
|
|
|
50
50
|
}
|
|
51
51
|
export interface NativeProps extends ViewProps {
|
|
52
52
|
provider?: WithDefault<'google' | 'apple', 'google'>;
|
|
53
|
+
mapType?: WithDefault<'standard' | 'satellite' | 'terrain' | 'hybrid' | 'muted-standard', 'standard'>;
|
|
53
54
|
mapId?: string;
|
|
54
55
|
initialCoordinate?: Coordinate;
|
|
55
56
|
initialZoom?: Double;
|
|
56
57
|
minZoom?: Double;
|
|
57
58
|
maxZoom?: Double;
|
|
58
|
-
zoomEnabled?: boolean
|
|
59
|
-
scrollEnabled?: boolean
|
|
60
|
-
rotateEnabled?: boolean
|
|
61
|
-
pitchEnabled?: boolean
|
|
59
|
+
zoomEnabled?: WithDefault<boolean, true>;
|
|
60
|
+
scrollEnabled?: WithDefault<boolean, true>;
|
|
61
|
+
rotateEnabled?: WithDefault<boolean, true>;
|
|
62
|
+
pitchEnabled?: WithDefault<boolean, true>;
|
|
63
|
+
compassEnabled?: WithDefault<boolean, true>;
|
|
64
|
+
staticMode?: boolean;
|
|
65
|
+
staticKey?: string;
|
|
62
66
|
edgeInsets?: EdgeInsets;
|
|
63
67
|
userLocationEnabled?: boolean;
|
|
64
68
|
userLocationButtonEnabled?: boolean;
|
|
65
|
-
|
|
69
|
+
poiEnabled?: boolean;
|
|
70
|
+
poiFilterMode?: WithDefault<'including' | 'excluding', 'including'>;
|
|
71
|
+
poiFilterCategories?: ReadonlyArray<string>;
|
|
72
|
+
theme?: WithDefault<'system' | 'light' | 'dark', 'system'>;
|
|
73
|
+
insetAdjustment?: WithDefault<'never' | 'automatic', 'never'>;
|
|
66
74
|
onMapPress?: DirectEventHandler<PressEvent>;
|
|
67
75
|
onMapLongPress?: DirectEventHandler<LongPressEvent>;
|
|
68
76
|
onCameraMove?: DirectEventHandler<CameraMoveEvent>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LuggMapViewNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/fabric/LuggMapViewNativeComponent.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7D,OAAO,KAAK,EACV,MAAM,EACN,WAAW,EACX,kBAAkB,EACnB,MAAM,2CAA2C,CAAC;AAEnD,MAAM,WAAW,UAAU;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,UAAU;IACzB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE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":"LuggMapViewNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/fabric/LuggMapViewNativeComponent.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7D,OAAO,KAAK,EACV,MAAM,EACN,WAAW,EACX,kBAAkB,EACnB,MAAM,2CAA2C,CAAC;AAEnD,MAAM,WAAW,UAAU;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,UAAU;IACzB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,eAAe;IAC9B,UAAU,EAAE;QACV,QAAQ,EAAE,MAAM,CAAC;QACjB,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;IACF,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,eAAe;IAC9B,UAAU,EAAE;QACV,QAAQ,EAAE,MAAM,CAAC;QACjB,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;IACF,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,UAAU;IACzB,UAAU,EAAE;QACV,QAAQ,EAAE,MAAM,CAAC;QACjB,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;IACF,KAAK,EAAE;QACL,CAAC,EAAE,MAAM,CAAC;QACV,CAAC,EAAE,MAAM,CAAC;KACX,CAAC;CACH;AAED,MAAM,WAAW,cAAc;IAC7B,UAAU,EAAE;QACV,QAAQ,EAAE,MAAM,CAAC;QACjB,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;IACF,KAAK,EAAE;QACL,CAAC,EAAE,MAAM,CAAC;QACV,CAAC,EAAE,MAAM,CAAC;KACX,CAAC;C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