diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapboxMap.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapboxMap.java index 78faef077..b75193dc8 100644 --- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapboxMap.java +++ b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapboxMap.java @@ -12,7 +12,6 @@ import android.support.annotation.Size; import android.support.annotation.UiThread; import android.text.TextUtils; import android.view.View; - import com.mapbox.android.gestures.AndroidGesturesManager; import com.mapbox.android.gestures.MoveGestureDetector; import com.mapbox.android.gestures.RotateGestureDetector; @@ -1882,20 +1881,25 @@ public final class MapboxMap { } /** - * Queries the map for rendered features + * Queries the map for rendered features. + *
+ * Returns an empty list if either the map or underlying render surface has been destroyed. + *
* * @param coordinates the point to query * @param layerIds optionally - only query these layers * @return the list of feature */ @NonNull - public List+ * Returns an empty list if either the map or underlying render surface has been destroyed. + *
* * @param coordinates the point to query * @param filter filters the returned features with an expression @@ -1911,19 +1915,24 @@ public final class MapboxMap { /** * Queries the map for rendered features + *+ * Returns an empty list if either the map or underlying render surface has been destroyed. + *
* * @param coordinates the box to query * @param layerIds optionally - only query these layers * @return the list of feature */ @NonNull - public List+ * Returns an empty list if either the map or underlying render surface has been destroyed. + *
* * @param coordinates the box to query * @param filter filters the returned features with an expression