react-native-maps 1.17.0 → 1.17.1
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.
|
@@ -264,12 +264,17 @@ NSInteger const AIR_CALLOUT_OPEN_ZINDEX_BASELINE = 999;
|
|
|
264
264
|
}
|
|
265
265
|
|
|
266
266
|
// the actual marker got clicked
|
|
267
|
+
CGPoint touchPointReal = [recognizer locationInView:self.calloutView];
|
|
267
268
|
id event = @{
|
|
268
269
|
@"action": @"marker-press",
|
|
269
270
|
@"id": marker.identifier ?: @"unknown",
|
|
270
271
|
@"coordinate": @{
|
|
271
272
|
@"latitude": @(marker.coordinate.latitude),
|
|
272
273
|
@"longitude": @(marker.coordinate.longitude)
|
|
274
|
+
},
|
|
275
|
+
@"point": @{
|
|
276
|
+
@"x": @(touchPointReal.x),
|
|
277
|
+
@"y": @(touchPointReal.y),
|
|
273
278
|
}
|
|
274
279
|
};
|
|
275
280
|
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"main": "lib/index.js",
|
|
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.17.
|
|
8
|
+
"version": "1.17.1",
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"lint": "eslint . --max-warnings 0",
|