Revert 5.x touch changes (#8585)

* Revert "[android] - only dispatch events if not handled by MarkerView (#8447)"

This reverts commit 09d76854ab.

* Revert "[android] - move touch handling of MarkerViews back to View#setOnClickListener. Workaround panning issue by dispatching touch events to the parent ViewGroup. (#8272)"

This reverts commit 1693b389d7.
This commit is contained in:
Tobrun
2017-03-30 17:30:47 +02:00
committed by GitHub
parent dcb14f98ee
commit a46d91f7c5
6 changed files with 60 additions and 70 deletions

View File

@@ -196,13 +196,6 @@ public class MarkerViewActivity extends AppCompatActivity {
// open infowindow offscreen markers
mapboxMap.selectMarker(markerRightOffScreen);
mapboxMap.selectMarker(markerRightBottomOffScreen);
mapboxMap.setOnMapClickListener(new MapboxMap.OnMapClickListener() {
@Override
public void onMapClick(@NonNull LatLng point) {
Toast.makeText(MarkerViewActivity.this, point.toString(), Toast.LENGTH_SHORT).show();
}
});
}
});
}