react-native-maps 1.0.0-beta.2 → 1.0.0-beta.3

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.
@@ -291,7 +291,7 @@ public class AirMapView extends MapView implements GoogleMap.InfoWindowAdapter,
291
291
  map.setOnPolylineClickListener(new GoogleMap.OnPolylineClickListener() {
292
292
  @Override
293
293
  public void onPolylineClick(Polyline polyline) {
294
- WritableMap event = makeClickEventData(polyline.getPoints().get(0));
294
+ WritableMap event = makeClickEventData(tapLocation);
295
295
  event.putString("action", "polyline-press");
296
296
  manager.pushEvent(context, polylineMap.get(polyline), "onPress", event);
297
297
  }
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "React Native Mapview component for iOS + Android",
4
4
  "main": "lib/index.js",
5
5
  "author": "Leland Richardson <leland.m.richardson@gmail.com>",
6
- "version": "1.0.0-beta.2",
6
+ "version": "1.0.0-beta.3",
7
7
  "license": "MIT",
8
8
  "scripts": {
9
9
  "lint": "eslint . --max-warnings 0",