@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.
Files changed (206) hide show
  1. package/README.md +3 -0
  2. package/android/src/main/java/com/luggmaps/LuggCalloutView.kt +9 -2
  3. package/android/src/main/java/com/luggmaps/LuggCalloutViewManager.kt +4 -3
  4. package/android/src/main/java/com/luggmaps/LuggCircleView.kt +85 -0
  5. package/android/src/main/java/com/luggmaps/LuggCircleViewManager.kt +79 -0
  6. package/android/src/main/java/com/luggmaps/LuggGroundOverlayView.kt +81 -0
  7. package/android/src/main/java/com/luggmaps/LuggGroundOverlayViewManager.kt +82 -0
  8. package/android/src/main/java/com/luggmaps/LuggMapView.kt +90 -0
  9. package/android/src/main/java/com/luggmaps/LuggMapViewManager.kt +45 -0
  10. package/android/src/main/java/com/luggmaps/LuggMapWrapperView.kt +27 -2
  11. package/android/src/main/java/com/luggmaps/LuggMarkerView.kt +30 -2
  12. package/android/src/main/java/com/luggmaps/LuggMarkerViewManager.kt +13 -0
  13. package/android/src/main/java/com/luggmaps/LuggPackage.kt +4 -1
  14. package/android/src/main/java/com/luggmaps/LuggPolylineView.kt +3 -23
  15. package/android/src/main/java/com/luggmaps/LuggTileOverlayView.kt +92 -0
  16. package/android/src/main/java/com/luggmaps/LuggTileOverlayViewManager.kt +80 -0
  17. package/android/src/main/java/com/luggmaps/core/GoogleMapProvider.kt +676 -36
  18. package/android/src/main/java/com/luggmaps/core/MapProviderDelegate.kt +15 -0
  19. package/android/src/main/java/com/luggmaps/core/PolylineAnimator.kt +65 -11
  20. package/android/src/main/java/com/luggmaps/events/CirclePressEvent.kt +12 -0
  21. package/android/src/main/java/com/luggmaps/events/GroundOverlayPressEvent.kt +12 -0
  22. package/android/src/main/java/com/luggmaps/events/TileOverlayPressEvent.kt +12 -0
  23. package/android/src/main/java/com/luggmaps/extensions/ViewExtensions.kt +11 -0
  24. package/ios/LuggCalloutView.h +1 -1
  25. package/ios/LuggCalloutView.mm +21 -11
  26. package/ios/LuggCircleView.h +31 -0
  27. package/ios/LuggCircleView.mm +133 -0
  28. package/ios/LuggGroundOverlayView.h +30 -0
  29. package/ios/LuggGroundOverlayView.mm +125 -0
  30. package/ios/LuggMapView.mm +254 -4
  31. package/ios/LuggMapWrapperView.h +5 -0
  32. package/ios/LuggMapWrapperView.mm +18 -0
  33. package/ios/LuggMarkerView.h +3 -0
  34. package/ios/LuggMarkerView.mm +25 -0
  35. package/ios/LuggTileOverlayView.h +31 -0
  36. package/ios/LuggTileOverlayView.mm +130 -0
  37. package/ios/core/AppleMapProvider.h +8 -0
  38. package/ios/core/AppleMapProvider.mm +663 -29
  39. package/ios/core/AppleStaticMapProvider.h +14 -0
  40. package/ios/core/AppleStaticMapProvider.mm +159 -0
  41. package/ios/core/GMSPolylineAnimator.m +46 -18
  42. package/ios/core/GoogleMapProvider.h +10 -0
  43. package/ios/core/GoogleMapProvider.mm +430 -51
  44. package/ios/core/GoogleStaticMapProvider.h +21 -0
  45. package/ios/core/GoogleStaticMapProvider.mm +213 -0
  46. package/ios/core/MKPolylineAnimator.m +67 -43
  47. package/ios/core/MapProviderDelegate.h +27 -1
  48. package/ios/core/StaticMapProviderBase.h +75 -0
  49. package/ios/core/StaticMapProviderBase.mm +845 -0
  50. package/ios/events/CameraIdleEvent.h +4 -2
  51. package/ios/events/CameraMoveEvent.h +4 -2
  52. package/ios/events/CirclePressEvent.h +22 -0
  53. package/ios/events/GroundOverlayPressEvent.h +22 -0
  54. package/ios/events/LongPressEvent.h +4 -2
  55. package/ios/events/MarkerDragEvent.h +12 -6
  56. package/ios/events/MarkerPressEvent.h +4 -2
  57. package/ios/events/PolygonPressEvent.h +4 -2
  58. package/ios/events/PressEvent.h +4 -2
  59. package/ios/events/ReadyEvent.h +4 -2
  60. package/ios/events/TileOverlayPressEvent.h +22 -0
  61. package/ios/extensions/MKMapView+Zoom.h +20 -0
  62. package/ios/extensions/MKMapView+Zoom.m +28 -18
  63. package/ios/extensions/UIView+Snapshot.h +16 -0
  64. package/ios/extensions/UIView+Snapshot.m +27 -0
  65. package/lib/module/MapProvider.web.js +4 -1
  66. package/lib/module/MapProvider.web.js.map +1 -1
  67. package/lib/module/MapView.js +19 -1
  68. package/lib/module/MapView.js.map +1 -1
  69. package/lib/module/MapView.web.js +30 -22
  70. package/lib/module/MapView.web.js.map +1 -1
  71. package/lib/module/components/Circle.js +46 -0
  72. package/lib/module/components/Circle.js.map +1 -0
  73. package/lib/module/components/Circle.types.js +4 -0
  74. package/lib/module/components/Circle.types.js.map +1 -0
  75. package/lib/module/components/Circle.web.js +79 -0
  76. package/lib/module/components/Circle.web.js.map +1 -0
  77. package/lib/module/components/GeoJson.js +3 -3
  78. package/lib/module/components/GeoJson.js.map +1 -1
  79. package/lib/module/components/GroundOverlay.js +45 -0
  80. package/lib/module/components/GroundOverlay.js.map +1 -0
  81. package/lib/module/components/GroundOverlay.types.js +4 -0
  82. package/lib/module/components/GroundOverlay.types.js.map +1 -0
  83. package/lib/module/components/GroundOverlay.web.js +77 -0
  84. package/lib/module/components/GroundOverlay.web.js.map +1 -0
  85. package/lib/module/components/Marker.js +22 -4
  86. package/lib/module/components/Marker.js.map +1 -1
  87. package/lib/module/components/Marker.web.js +23 -10
  88. package/lib/module/components/Marker.web.js.map +1 -1
  89. package/lib/module/components/Polygon.web.js +3 -3
  90. package/lib/module/components/Polygon.web.js.map +1 -1
  91. package/lib/module/components/Polyline.web.js +6 -12
  92. package/lib/module/components/Polyline.web.js.map +1 -1
  93. package/lib/module/components/TileOverlay.js +44 -0
  94. package/lib/module/components/TileOverlay.js.map +1 -0
  95. package/lib/module/components/TileOverlay.types.js +4 -0
  96. package/lib/module/components/TileOverlay.types.js.map +1 -0
  97. package/lib/module/components/TileOverlay.web.js +69 -0
  98. package/lib/module/components/TileOverlay.web.js.map +1 -0
  99. package/lib/module/components/index.js +3 -0
  100. package/lib/module/components/index.js.map +1 -1
  101. package/lib/module/components/index.web.js +3 -0
  102. package/lib/module/components/index.web.js.map +1 -1
  103. package/lib/module/fabric/LuggCalloutViewNativeComponent.ts +1 -1
  104. package/lib/module/fabric/LuggCircleViewNativeComponent.ts +25 -0
  105. package/lib/module/fabric/LuggGroundOverlayViewNativeComponent.ts +29 -0
  106. package/lib/module/fabric/LuggMapViewNativeComponent.ts +16 -5
  107. package/lib/module/fabric/LuggMarkerViewNativeComponent.ts +14 -2
  108. package/lib/module/fabric/LuggTileOverlayViewNativeComponent.ts +30 -0
  109. package/lib/module/index.js +3 -0
  110. package/lib/module/index.js.map +1 -1
  111. package/lib/module/index.web.js +3 -0
  112. package/lib/module/index.web.js.map +1 -1
  113. package/lib/typescript/src/MapProvider.web.d.ts +3 -2
  114. package/lib/typescript/src/MapProvider.web.d.ts.map +1 -1
  115. package/lib/typescript/src/MapView.d.ts +1 -1
  116. package/lib/typescript/src/MapView.d.ts.map +1 -1
  117. package/lib/typescript/src/MapView.types.d.ts +60 -1
  118. package/lib/typescript/src/MapView.types.d.ts.map +1 -1
  119. package/lib/typescript/src/MapView.web.d.ts +1 -1
  120. package/lib/typescript/src/MapView.web.d.ts.map +1 -1
  121. package/lib/typescript/src/components/Circle.d.ts +10 -0
  122. package/lib/typescript/src/components/Circle.d.ts.map +1 -0
  123. package/lib/typescript/src/components/Circle.types.d.ts +33 -0
  124. package/lib/typescript/src/components/Circle.types.d.ts.map +1 -0
  125. package/lib/typescript/src/components/Circle.web.d.ts +3 -0
  126. package/lib/typescript/src/components/Circle.web.d.ts.map +1 -0
  127. package/lib/typescript/src/components/GeoJson.d.ts +2 -1
  128. package/lib/typescript/src/components/GeoJson.d.ts.map +1 -1
  129. package/lib/typescript/src/components/GroundOverlay.d.ts +10 -0
  130. package/lib/typescript/src/components/GroundOverlay.d.ts.map +1 -0
  131. package/lib/typescript/src/components/GroundOverlay.types.d.ts +35 -0
  132. package/lib/typescript/src/components/GroundOverlay.types.d.ts.map +1 -0
  133. package/lib/typescript/src/components/GroundOverlay.web.d.ts +3 -0
  134. package/lib/typescript/src/components/GroundOverlay.web.d.ts.map +1 -0
  135. package/lib/typescript/src/components/Marker.d.ts +6 -3
  136. package/lib/typescript/src/components/Marker.d.ts.map +1 -1
  137. package/lib/typescript/src/components/Marker.types.d.ts +18 -6
  138. package/lib/typescript/src/components/Marker.types.d.ts.map +1 -1
  139. package/lib/typescript/src/components/Marker.web.d.ts +3 -2
  140. package/lib/typescript/src/components/Marker.web.d.ts.map +1 -1
  141. package/lib/typescript/src/components/Polygon.web.d.ts +1 -1
  142. package/lib/typescript/src/components/Polygon.web.d.ts.map +1 -1
  143. package/lib/typescript/src/components/Polyline.web.d.ts +1 -1
  144. package/lib/typescript/src/components/Polyline.web.d.ts.map +1 -1
  145. package/lib/typescript/src/components/TileOverlay.d.ts +10 -0
  146. package/lib/typescript/src/components/TileOverlay.d.ts.map +1 -0
  147. package/lib/typescript/src/components/TileOverlay.types.d.ts +36 -0
  148. package/lib/typescript/src/components/TileOverlay.types.d.ts.map +1 -0
  149. package/lib/typescript/src/components/TileOverlay.web.d.ts +3 -0
  150. package/lib/typescript/src/components/TileOverlay.web.d.ts.map +1 -0
  151. package/lib/typescript/src/components/index.d.ts +7 -1
  152. package/lib/typescript/src/components/index.d.ts.map +1 -1
  153. package/lib/typescript/src/components/index.web.d.ts +6 -0
  154. package/lib/typescript/src/components/index.web.d.ts.map +1 -1
  155. package/lib/typescript/src/fabric/LuggCalloutViewNativeComponent.d.ts +1 -1
  156. package/lib/typescript/src/fabric/LuggCircleViewNativeComponent.d.ts +18 -0
  157. package/lib/typescript/src/fabric/LuggCircleViewNativeComponent.d.ts.map +1 -0
  158. package/lib/typescript/src/fabric/LuggGroundOverlayViewNativeComponent.d.ts +21 -0
  159. package/lib/typescript/src/fabric/LuggGroundOverlayViewNativeComponent.d.ts.map +1 -0
  160. package/lib/typescript/src/fabric/LuggMapViewNativeComponent.d.ts +13 -5
  161. package/lib/typescript/src/fabric/LuggMapViewNativeComponent.d.ts.map +1 -1
  162. package/lib/typescript/src/fabric/LuggMarkerViewNativeComponent.d.ts +8 -1
  163. package/lib/typescript/src/fabric/LuggMarkerViewNativeComponent.d.ts.map +1 -1
  164. package/lib/typescript/src/fabric/LuggTileOverlayViewNativeComponent.d.ts +21 -0
  165. package/lib/typescript/src/fabric/LuggTileOverlayViewNativeComponent.d.ts.map +1 -0
  166. package/lib/typescript/src/index.d.ts +9 -3
  167. package/lib/typescript/src/index.d.ts.map +1 -1
  168. package/lib/typescript/src/index.web.d.ts +7 -1
  169. package/lib/typescript/src/index.web.d.ts.map +1 -1
  170. package/lib/typescript/src/types.d.ts +0 -4
  171. package/lib/typescript/src/types.d.ts.map +1 -1
  172. package/package.json +17 -11
  173. package/src/MapProvider.web.tsx +5 -3
  174. package/src/MapView.tsx +19 -1
  175. package/src/MapView.types.ts +142 -1
  176. package/src/MapView.web.tsx +379 -340
  177. package/src/components/Circle.tsx +52 -0
  178. package/src/components/Circle.types.ts +33 -0
  179. package/src/components/Circle.web.tsx +95 -0
  180. package/src/components/GeoJson.tsx +3 -3
  181. package/src/components/GroundOverlay.tsx +47 -0
  182. package/src/components/GroundOverlay.types.ts +36 -0
  183. package/src/components/GroundOverlay.web.tsx +81 -0
  184. package/src/components/Marker.tsx +32 -6
  185. package/src/components/Marker.types.ts +19 -6
  186. package/src/components/Marker.web.tsx +196 -150
  187. package/src/components/Polygon.web.tsx +93 -89
  188. package/src/components/Polyline.web.tsx +235 -235
  189. package/src/components/TileOverlay.tsx +44 -0
  190. package/src/components/TileOverlay.types.ts +37 -0
  191. package/src/components/TileOverlay.web.tsx +97 -0
  192. package/src/components/index.ts +10 -0
  193. package/src/components/index.web.ts +9 -0
  194. package/src/fabric/LuggCalloutViewNativeComponent.ts +1 -1
  195. package/src/fabric/LuggCircleViewNativeComponent.ts +25 -0
  196. package/src/fabric/LuggGroundOverlayViewNativeComponent.ts +29 -0
  197. package/src/fabric/LuggMapViewNativeComponent.ts +16 -5
  198. package/src/fabric/LuggMarkerViewNativeComponent.ts +14 -2
  199. package/src/fabric/LuggTileOverlayViewNativeComponent.ts +30 -0
  200. package/src/index.ts +12 -1
  201. package/src/index.web.ts +15 -0
  202. package/src/types.ts +0 -5
  203. package/plugin/build/withMapsAndroid.d.ts +0 -5
  204. package/plugin/build/withMapsAndroid.js +0 -15
  205. package/plugin/build/withMapsIOS.d.ts +0 -5
  206. 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, MapTheme, PressEventPayload } from './types';
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,EACR,iBAAiB,EAClB,MAAM,SAAS,CAAC;AAEjB;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,OAAO,CAAC,EAAE,UAAU,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,UAAU,CAAC,UAAU,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,iBAAiB,GAAG,IAAI,CAAC;IACtE,cAAc,CACZ,WAAW,EAAE,UAAU,EAAE,EACzB,OAAO,CAAC,EAAE,qBAAqB,GAC9B,IAAI,CAAC;IACR,aAAa,CAAC,UAAU,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,oBAAoB,GAAG,IAAI,CAAC;CAC7E;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,UAAU,EAAE,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C,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
+ {"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,GAChB,UAAU,GACV,KAAK,GACL,mBAAmB,GACnB,QAAQ,GACR,MAAM,GACN,UAAU,GACV,YAAY,GACZ,OAAO,GACP,QAAQ,GACR,SAAS,GACT,SAAS,GACT,MAAM,GACN,YAAY,GACZ,YAAY,GACZ,QAAQ,GACR,mBAAmB,GACnB,YAAY,GACZ,YAAY,GACZ,YAAY,GACZ,cAAc,GACd,SAAS,GACT,gBAAgB,GAChB,aAAa,GACb,UAAU,GACV,aAAa,GACb,SAAS,GACT,MAAM,GACN,QAAQ,GACR,UAAU,GACV,OAAO,GACP,UAAU,GACV,UAAU,GACV,SAAS,GACT,SAAS,GACT,SAAS,GACT,QAAQ,GACR,WAAW,GACX,eAAe,GACf,QAAQ,GACR,aAAa,GACb,mBAAmB,GACnB,eAAe,GACf,WAAW,GACX,MAAM,GACN,SAA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AAE,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").ForwardRefExoticComponent<MapViewProps & import("react").RefAttributes<MapViewRef>>;
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":"AAuBA,OAAO,KAAK,EACV,YAAY,EACZ,UAAU,EAKX,MAAM,iBAAiB,CAAC;AAoEzB,eAAO,MAAM,OAAO,qGAsXlB,CAAC"}
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,3 @@
1
+ import type { CircleProps } from './Circle.types';
2
+ export declare const Circle: import("react").MemoExoticComponent<({ center, radius, strokeColor, strokeWidth, fillColor, zIndex, onPress, }: CircleProps) => null>;
3
+ //# sourceMappingURL=Circle.web.d.ts.map
@@ -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":"AASA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAQpD,YAAY,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAwLpD,eAAO,MAAM,OAAO,GAAI,OAAO,YAAY,4CAmB1C,CAAC"}
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,3 @@
1
+ import type { GroundOverlayProps } from './GroundOverlay.types';
2
+ export declare const GroundOverlay: import("react").MemoExoticComponent<({ image, bounds, opacity, zIndex, onPress }: GroundOverlayProps) => null>;
3
+ //# sourceMappingURL=GroundOverlay.web.d.ts.map
@@ -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;AAI9C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAElD,YAAY,EACV,cAAc,EACd,WAAW,EACX,gBAAgB,EAChB,eAAe,GAChB,MAAM,gBAAgB,CAAC;AAExB,qBAAa,MAAO,SAAQ,KAAK,CAAC,aAAa,CAAC,WAAW,CAAC;IAC1D,OAAO,CAAC,QAAQ;IAShB,OAAO,CAAC,aAAa,CAAqB;IAC1C,OAAO,CAAC,YAAY,CAAM;IAE1B,MAAM;CA2DP"}
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
- * Anchor point for the callout relative to the marker position.
16
- * `{x: 0.5, y: 1}` places the bottom-center of the callout at the marker.
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
- * @note Not supported on web.
19
- * @default {x: 0.5, y: 1}
19
+ * @default {x: 0, y: 0}
20
20
  */
21
- anchor?: Point;
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,OAA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C;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
+ {"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 type { MarkerProps } from './Marker.types';
2
- export declare const Marker: ({ coordinate, title, description, anchor, zIndex, rotate, scale, draggable, onPress, onDragStart, onDragChange, onDragEnd, callout, calloutOptions, children, }: MarkerProps) => import("react/jsx-runtime").JSX.Element;
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":"AAaA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AA+ClD,eAAO,MAAM,MAAM,GAAI,iKAgBpB,WAAW,4CAqIb,CAAC"}
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,GAAI,+EAQrB,YAAY,SA2Fd,CAAC"}
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,GAAI,gFAOtB,aAAa,SAmQf,CAAC"}
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,3 @@
1
+ import type { TileOverlayProps } from './TileOverlay.types';
2
+ export declare const TileOverlay: import("react").MemoExoticComponent<({ urlTemplate, tileSize, opacity, bounds, zIndex, onPress, }: TileOverlayProps) => null>;
3
+ //# sourceMappingURL=TileOverlay.web.d.ts.map
@@ -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"}
@@ -6,7 +6,7 @@ export interface Point {
6
6
  }
7
7
  export interface NativeProps extends ViewProps {
8
8
  bubbled?: WithDefault<boolean, true>;
9
- anchor?: Point;
9
+ offset?: Point;
10
10
  }
11
11
  declare const _default: HostComponent<NativeProps>;
12
12
  export default _default;
@@ -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
- theme?: WithDefault<'light' | 'dark' | 'system', 'system'>;
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,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;QAC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CAAC,aAAa,CAAC,EACxC,QAAQ,EAAE,MAAM,EAChB,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,MAAM,KACb,IAAI,CAAC;IACV,cAAc,EAAE,CACd,OAAO,EAAE,KAAK,CAAC,UAAU,CAAC,aAAa,CAAC,EACxC,WAAW,EAAE,UAAU,EAAE,EACzB,aAAa,EAAE,MAAM,EACrB,cAAc,EAAE,MAAM,EACtB,gBAAgB,EAAE,MAAM,EACxB,eAAe,EAAE,MAAM,EACvB,QAAQ,EAAE,MAAM,KACb,IAAI,CAAC;IACV,aAAa,EAAE,CACb,OAAO,EAAE,KAAK,CAAC,UAAU,CAAC,aAAa,CAAC,EACxC,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,MAAM,EACb,QAAQ,EAAE,MAAM,KACb,IAAI,CAAC;CACX;AAED,eAAO,MAAM,QAAQ,gBAEnB,CAAC;wBAIE,aAAa;AAFlB,wBAEmB"}
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,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,MA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