diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/Annotation.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/Annotation.java index 45e31beda66..8ea2266499f 100644 --- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/Annotation.java +++ b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/Annotation.java @@ -3,6 +3,7 @@ import android.support.annotation.NonNull; import android.support.annotation.Nullable; + import com.mapbox.mapboxsdk.maps.MapView; import com.mapbox.mapboxsdk.maps.MapboxMap; @@ -15,7 +16,11 @@ * This class manages attachment to a map and identification, but does not require * content to be placed at a geographical point. *

+ * @deprecated As of 7.0.0, + * use + * Mapbox Annotation Plugin instead */ +@Deprecated public abstract class Annotation implements Comparable { /** diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/ArrowDirection.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/ArrowDirection.java index 2fe5f8f420d..220544815ea 100644 --- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/ArrowDirection.java +++ b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/ArrowDirection.java @@ -5,6 +5,7 @@ import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; +@Deprecated class ArrowDirection { @IntDef( {LEFT, RIGHT, TOP, BOTTOM}) @Retention(RetentionPolicy.SOURCE) diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/BaseMarkerOptions.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/BaseMarkerOptions.java index 82868e28883..384ff8c0acd 100644 --- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/BaseMarkerOptions.java +++ b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/BaseMarkerOptions.java @@ -11,7 +11,11 @@ * * @param Type of the marker to be composed * @param Type of the builder to be used for composing a custom Marker + * @deprecated As of 7.0.0, + * use + * Mapbox Annotation Plugin instead */ +@Deprecated public abstract class BaseMarkerOptions> implements Parcelable { protected LatLng position; diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/BasePointCollection.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/BasePointCollection.java index eeb9aa50176..b94721a80a9 100644 --- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/BasePointCollection.java +++ b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/BasePointCollection.java @@ -10,7 +10,12 @@ /** * Multipoint is an abstract annotation for combining geographical locations. + * + * @deprecated As of 7.0.0, + * use + * Mapbox Annotation Plugin instead */ +@Deprecated public abstract class BasePointCollection extends Annotation { @Keep diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/Bubble.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/Bubble.java index 88fe3850845..0768f9c2e48 100644 --- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/Bubble.java +++ b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/Bubble.java @@ -10,6 +10,7 @@ import android.graphics.drawable.Drawable; import android.support.annotation.NonNull; +@Deprecated class Bubble extends Drawable { private RectF rect; diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/BubbleLayout.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/BubbleLayout.java index dc359fa13ae..f4a1484f8a0 100644 --- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/BubbleLayout.java +++ b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/BubbleLayout.java @@ -14,7 +14,11 @@ /** * Bubble View for Android with custom stroke width and color, arrow size, position and direction. + * @deprecated As of 7.0.0, + * use + * Mapbox Annotation Plugin instead */ +@Deprecated public class BubbleLayout extends LinearLayout { public static final float DEFAULT_STROKE_WIDTH = -1; diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/BubblePopupHelper.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/BubblePopupHelper.java index 87b35bc7c2a..055bfe53689 100644 --- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/BubblePopupHelper.java +++ b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/BubblePopupHelper.java @@ -9,6 +9,7 @@ import com.mapbox.mapboxsdk.R; +@Deprecated class BubblePopupHelper { @NonNull diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/Icon.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/Icon.java index 752de76d5ef..7ace1135053 100644 --- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/Icon.java +++ b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/Icon.java @@ -10,9 +10,11 @@ /** * Icon is the visual representation of a Marker on a MapView. * - * @see Marker - * @see IconFactory + * @deprecated As of 7.0.0, + * use + * Mapbox Annotation Plugin instead */ +@Deprecated public class Icon { private Bitmap mBitmap; diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/IconFactory.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/IconFactory.java index b038f01c23e..ae664dfe3f9 100644 --- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/IconFactory.java +++ b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/IconFactory.java @@ -28,8 +28,11 @@ * icon is used to display bitmaps on top of the map using {@link Marker}. *

* - * @see Icon + * @deprecated As of 7.0.0, + * use + * Mapbox Annotation Plugin instead */ +@Deprecated public final class IconFactory { private static final String ICON_ID_PREFIX = "com.mapbox.icons.icon_"; diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/InfoWindow.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/InfoWindow.java index e6c99a14c48..5bd9aaef13e 100644 --- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/InfoWindow.java +++ b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/InfoWindow.java @@ -31,7 +31,11 @@ * While either the title and * snippet are optional, at least one is required to open the info window. *

+ * @deprecated As of 7.0.0, + * use + * Mapbox Annotation Plugin instead */ +@Deprecated public class InfoWindow { private WeakReference boundMarker; diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/Marker.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/Marker.java index 4ff56e11658..c26af94366a 100644 --- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/Marker.java +++ b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/Marker.java @@ -21,7 +21,11 @@ * with event listeners to bring up info windows. An {@link InfoWindow} is displayed by default when * either a title or snippet is provided. *

+ * @deprecated As of 7.0.0, + * use + * Mapbox Annotation Plugin instead */ +@Deprecated public class Marker extends Annotation { @Keep diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/MarkerOptions.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/MarkerOptions.java index f65c87d2589..62c3d378e42 100644 --- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/MarkerOptions.java +++ b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/MarkerOptions.java @@ -20,7 +20,11 @@ * .snippet("H St NW with 15th St NW") * .position(new LatLng(38.9002073, -77.03364419))); * + * @deprecated As of 7.0.0, + * use + * Mapbox Annotation Plugin instead */ +@Deprecated public final class MarkerOptions extends BaseMarkerOptions implements Parcelable { /** diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/Polygon.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/Polygon.java index fa6a087f7ce..5f6cef8d40b 100644 --- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/Polygon.java +++ b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/Polygon.java @@ -12,7 +12,11 @@ /** * Polygon is a geometry annotation that's a closed loop of coordinates. + * @deprecated As of 7.0.0, + * use + * Mapbox Annotation Plugin instead */ +@Deprecated public final class Polygon extends BasePointCollection { @Keep diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/PolygonOptions.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/PolygonOptions.java index d6810d5a613..452420fcbd3 100644 --- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/PolygonOptions.java +++ b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/PolygonOptions.java @@ -13,7 +13,11 @@ /** * Builder for composing {@link Polygon} objects. + * @deprecated As of 7.0.0, + * use + * Mapbox Annotation Plugin instead */ +@Deprecated public final class PolygonOptions implements Parcelable { public static final Parcelable.Creator CREATOR = diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/Polyline.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/Polyline.java index 41a6ef35369..76ea15215d8 100644 --- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/Polyline.java +++ b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/Polyline.java @@ -7,7 +7,11 @@ /** * Polyline is a geometry feature with an unclosed list of coordinates drawn as a line + * @deprecated As of 7.0.0, + * use + * Mapbox Annotation Plugin instead */ +@Deprecated public final class Polyline extends BasePointCollection { @Keep diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/PolylineOptions.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/PolylineOptions.java index 343dddcbc7f..6a54f948b70 100644 --- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/PolylineOptions.java +++ b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/PolylineOptions.java @@ -12,7 +12,11 @@ /** * Builder for composing {@link Polyline} objects. + * @deprecated As of 7.0.0, + * use + * Mapbox Annotation Plugin instead */ +@Deprecated public final class PolylineOptions implements Parcelable {