react-native-maps 1.23.9 → 1.23.10
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
CHANGED
|
@@ -214,57 +214,6 @@ For Android: add the following line in your AndroidManifest.xml
|
|
|
214
214
|
|
|
215
215
|
For IOS: configure [App Transport Security](https://developer.apple.com/library/content/documentation/General/Reference/InfoPlistKeyReference/Articles/CocoaKeys.html#//apple_ref/doc/uid/TP40009251-SW33) in your app
|
|
216
216
|
|
|
217
|
-
## React Native Configuration for Fabric / New Architecture
|
|
218
|
-
|
|
219
|
-
This library doesn't support the new arch yet due to issues with inserting subviews / interoplayer. we're working on it.
|
|
220
|
-
|
|
221
|
-
### Configuration Steps
|
|
222
|
-
|
|
223
|
-
1. **Open your configuration file**: Locate the `react-native-config` file in your project directory.
|
|
224
|
-
|
|
225
|
-
2. **Add the following configuration**: Include the `unstable_reactLegacyComponentNames` array for both Android and iOS platforms as shown below:
|
|
226
|
-
|
|
227
|
-
```javascript
|
|
228
|
-
module.exports = {
|
|
229
|
-
project: {
|
|
230
|
-
android: {
|
|
231
|
-
unstable_reactLegacyComponentNames: [
|
|
232
|
-
'AIRMap',
|
|
233
|
-
'AIRMapCallout',
|
|
234
|
-
'AIRMapCalloutSubview',
|
|
235
|
-
'AIRMapCircle',
|
|
236
|
-
'AIRMapHeatmap',
|
|
237
|
-
'AIRMapLocalTile',
|
|
238
|
-
'AIRMapMarker',
|
|
239
|
-
'AIRMapOverlay',
|
|
240
|
-
'AIRMapPolygon',
|
|
241
|
-
'AIRMapPolyline',
|
|
242
|
-
'AIRMapUrlTile',
|
|
243
|
-
'AIRMapWMSTile',
|
|
244
|
-
],
|
|
245
|
-
},
|
|
246
|
-
ios: {
|
|
247
|
-
unstable_reactLegacyComponentNames: [
|
|
248
|
-
'AIRMap',
|
|
249
|
-
'AIRMapCallout',
|
|
250
|
-
'AIRMapCalloutSubview',
|
|
251
|
-
'AIRMapCircle',
|
|
252
|
-
'AIRMapHeatmap',
|
|
253
|
-
'AIRMapLocalTile',
|
|
254
|
-
'AIRMapMarker',
|
|
255
|
-
'AIRMapOverlay',
|
|
256
|
-
'AIRMapPolygon',
|
|
257
|
-
'AIRMapPolyline',
|
|
258
|
-
'AIRMapUrlTile',
|
|
259
|
-
'AIRMapWMSTile',
|
|
260
|
-
],
|
|
261
|
-
},
|
|
262
|
-
},
|
|
263
|
-
};
|
|
264
|
-
```
|
|
265
|
-
|
|
266
|
-
checkout the example project to see it in action.
|
|
267
|
-
|
|
268
217
|
#### Tile Overlay using local tiles
|
|
269
218
|
|
|
270
219
|
Tiles can be stored locally within device using xyz tiling scheme and displayed as tile overlay as well. This is usefull especially for offline map usage when tiles are available for selected map region within device storage.
|
|
@@ -459,7 +459,7 @@ public class MapView extends com.google.android.gms.maps.MapView implements Goog
|
|
|
459
459
|
MapMarker airMapMarker = getMarkerMap(marker);
|
|
460
460
|
|
|
461
461
|
WritableMap eventData = makeClickEventData(marker.getPosition());
|
|
462
|
-
eventData.putString("action", "press");
|
|
462
|
+
eventData.putString("action", "marker-press");
|
|
463
463
|
eventData.putString("id", airMapMarker.getIdentifier());
|
|
464
464
|
airMapMarker.dispatchEvent(eventData, OnPressEvent::new);
|
|
465
465
|
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"author": "Leland Richardson <leland.m.richardson@gmail.com>",
|
|
7
7
|
"homepage": "https://github.com/react-native-maps/react-native-maps#readme",
|
|
8
|
-
"version": "1.23.
|
|
8
|
+
"version": "1.23.10",
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"lint": "eslint . --max-warnings 0",
|