Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

[android] deprecated annotations package #13468

Merged
merged 1 commit into from
Nov 28, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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.
* </p>
* @deprecated As of 7.0.0,
* use <a href="https://github.com/mapbox/mapbox-plugins-android/tree/master/plugin-annotation">
* Mapbox Annotation Plugin</a> instead
*/
@Deprecated
public abstract class Annotation implements Comparable<Annotation> {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@
*
* @param <U> Type of the marker to be composed
* @param <T> Type of the builder to be used for composing a custom Marker
* @deprecated As of 7.0.0,
* use <a href="https://github.com/mapbox/mapbox-plugins-android/tree/master/plugin-annotation">
* Mapbox Annotation Plugin</a> instead
*/
@Deprecated
public abstract class BaseMarkerOptions<U extends Marker, T extends BaseMarkerOptions<U, T>> implements Parcelable {

protected LatLng position;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@

/**
* Multipoint is an abstract annotation for combining geographical locations.
*
* @deprecated As of 7.0.0,
* use <a href="https://github.com/mapbox/mapbox-plugins-android/tree/master/plugin-annotation">
* Mapbox Annotation Plugin</a> instead
*/
@Deprecated
public abstract class BasePointCollection extends Annotation {

@Keep
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import android.graphics.drawable.Drawable;
import android.support.annotation.NonNull;

@Deprecated
class Bubble extends Drawable {

private RectF rect;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 <a href="https://github.com/mapbox/mapbox-plugins-android/tree/master/plugin-annotation">
* Mapbox Annotation Plugin</a> instead
*/
@Deprecated
public class BubbleLayout extends LinearLayout {

public static final float DEFAULT_STROKE_WIDTH = -1;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

import com.mapbox.mapboxsdk.R;

@Deprecated
class BubblePopupHelper {

@NonNull
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 <a href="https://github.com/mapbox/mapbox-plugins-android/tree/master/plugin-annotation">
* Mapbox Annotation Plugin</a> instead
*/
@Deprecated
public class Icon {

private Bitmap mBitmap;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,11 @@
* icon is used to display bitmaps on top of the map using {@link Marker}.
* </p>
*
* @see Icon
* @deprecated As of 7.0.0,
* use <a href="https://github.com/mapbox/mapbox-plugins-android/tree/master/plugin-annotation">
* Mapbox Annotation Plugin</a> instead
*/
@Deprecated
public final class IconFactory {

private static final String ICON_ID_PREFIX = "com.mapbox.icons.icon_";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,11 @@
* While either the title and
* snippet are optional, at least one is required to open the info window.
* </p>
* @deprecated As of 7.0.0,
* use <a href="https://github.com/mapbox/mapbox-plugins-android/tree/master/plugin-annotation">
* Mapbox Annotation Plugin</a> instead
*/
@Deprecated
public class InfoWindow {

private WeakReference<Marker> boundMarker;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
* </p>
* @deprecated As of 7.0.0,
* use <a href="https://github.com/mapbox/mapbox-plugins-android/tree/master/plugin-annotation">
* Mapbox Annotation Plugin</a> instead
*/
@Deprecated
public class Marker extends Annotation {

@Keep
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@
* .snippet("H St NW with 15th St NW")
* .position(new LatLng(38.9002073, -77.03364419)));
* </pre>
* @deprecated As of 7.0.0,
* use <a href="https://github.com/mapbox/mapbox-plugins-android/tree/master/plugin-annotation">
* Mapbox Annotation Plugin</a> instead
*/
@Deprecated
public final class MarkerOptions extends BaseMarkerOptions<Marker, MarkerOptions> implements Parcelable {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@

/**
* Polygon is a geometry annotation that's a closed loop of coordinates.
* @deprecated As of 7.0.0,
* use <a href="https://github.com/mapbox/mapbox-plugins-android/tree/master/plugin-annotation">
* Mapbox Annotation Plugin</a> instead
*/
@Deprecated
public final class Polygon extends BasePointCollection {

@Keep
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@

/**
* Builder for composing {@link Polygon} objects.
* @deprecated As of 7.0.0,
* use <a href="https://github.com/mapbox/mapbox-plugins-android/tree/master/plugin-annotation">
* Mapbox Annotation Plugin</a> instead
*/
@Deprecated
public final class PolygonOptions implements Parcelable {

public static final Parcelable.Creator<PolygonOptions> CREATOR =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 <a href="https://github.com/mapbox/mapbox-plugins-android/tree/master/plugin-annotation">
* Mapbox Annotation Plugin</a> instead
*/
@Deprecated
public final class Polyline extends BasePointCollection {

@Keep
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@

/**
* Builder for composing {@link Polyline} objects.
* @deprecated As of 7.0.0,
* use <a href="https://github.com/mapbox/mapbox-plugins-android/tree/master/plugin-annotation">
* Mapbox Annotation Plugin</a> instead
*/
@Deprecated
public final class PolylineOptions implements Parcelable {


Expand Down