public class

SteerpathPolygon

extends SteerpathAnnotation
java.lang.Object
   ↳ com.steerpath.sdk.maps.SteerpathAnnotation
     ↳ com.steerpath.sdk.maps.SteerpathPolygon

Class Overview

Wraps com.mapbox.mapboxsdk.annotations.Polygon

Summary

Public Constructors
SteerpathPolygon(SteerpathAnnotationOptions options)
Public Methods
Polygon getConcreteView()
Returns concrete Mapbox Annotation object if it is currently added to the map.
long getId()
Returns Mapbox annotation id if underlying Mapbox Annotation (MarkerView, Marker, Polyline or Polygon) is actually rendered on the map.
void reset()
For internal use.
void setConcreteView(Object view)
For internal use.
String toString()
[Expand]
Inherited Methods
From class com.steerpath.sdk.maps.SteerpathAnnotation
From class java.lang.Object

Public Constructors

public SteerpathPolygon (SteerpathAnnotationOptions options)

Public Methods

public Polygon getConcreteView ()

Returns concrete Mapbox Annotation object if it is currently added to the map.

Returns
  • may return null at any given time

public long getId ()

Returns Mapbox annotation id if underlying Mapbox Annotation (MarkerView, Marker, Polyline or Polygon) is actually rendered on the map. Annotation is not rendered if incorrect building or floor are not focused.

Returns
  • Mapbox annotation id or -1 if not currently visible.

public void reset ()

For internal use. Will be removed from the api in the future.

public void setConcreteView (Object view)

For internal use. Will be removed from the api in the future.

public String toString ()