react-native-maps 1.21.0-alpha.57 → 1.21.0-alpha.58
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.
|
@@ -465,7 +465,6 @@ public class MapView extends com.google.android.gms.maps.MapView implements Goog
|
|
|
465
465
|
map.setOnCameraMoveListener(new GoogleMap.OnCameraMoveListener() {
|
|
466
466
|
@Override
|
|
467
467
|
public void onCameraMove() {
|
|
468
|
-
Log.e("MapView", "onCameraMove");
|
|
469
468
|
LatLngBounds bounds = map.getProjection().getVisibleRegion().latLngBounds;
|
|
470
469
|
|
|
471
470
|
cameraLastIdleBounds = null;
|
|
@@ -552,7 +551,7 @@ public class MapView extends com.google.android.gms.maps.MapView implements Goog
|
|
|
552
551
|
if (selectedMarker == target) {
|
|
553
552
|
return;
|
|
554
553
|
}
|
|
555
|
-
|
|
554
|
+
|
|
556
555
|
WritableMap event;
|
|
557
556
|
|
|
558
557
|
if (selectedMarker != null) {
|
|
@@ -1350,7 +1349,7 @@ public static CameraPosition cameraPositionFromMap(ReadableMap camera){
|
|
|
1350
1349
|
public boolean dispatchTouchEvent(MotionEvent ev) {
|
|
1351
1350
|
gestureDetector.onTouchEvent(ev);
|
|
1352
1351
|
|
|
1353
|
-
int X = (int)ev.getX();
|
|
1352
|
+
int X = (int)ev.getX();
|
|
1354
1353
|
int Y = (int)ev.getY();
|
|
1355
1354
|
if(map != null) {
|
|
1356
1355
|
tapLocation = map.getProjection().fromScreenLocation(new Point(X,Y));
|
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.21.0-alpha.
|
|
8
|
+
"version": "1.21.0-alpha.58",
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"lint": "eslint . --max-warnings 0",
|