summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobrun Van Nuland <tobrun.van.nuland@gmail.com>2017-07-20 16:04:01 +0200
committerTobrun Van Nuland <tobrun.van.nuland@gmail.com>2017-07-20 16:06:25 +0200
commitf761202abc639d38e06ff29d61078c86d6a98573 (patch)
tree5998f73ae29f8ed51a9be3014c46e28e234d88d6
parentf19c36a4ba9adb6d1288a47252a0189aac5033ce (diff)
downloadqtlocation-mapboxgl-upstream/tvn-markerview-select-state.tar.gz
[android] - manage InfoWindow selection in AnnotationManagerupstream/tvn-markerview-select-state
-rw-r--r--platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/MarkerViewManager.java5
1 files changed, 0 insertions, 5 deletions
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/MarkerViewManager.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/MarkerViewManager.java
index dce6f6b277..8704e882ea 100644
--- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/MarkerViewManager.java
+++ b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/MarkerViewManager.java
@@ -570,11 +570,6 @@ public class MarkerViewManager implements MapView.OnMapChangedListener {
clickHandled = onMarkerViewClickListener.onMarkerClick(markerView, view, adapter);
}
- if (!clickHandled) {
- ensureInfoWindowOffset(markerView);
- select(markerView, view, adapter);
- }
-
return clickHandled;
}