class DJIPolyline
| Package: | com.dji.mapkit.core.models.annotations |
Description:
A polyline that exists on a map object. To add a new polyline to a map, see DJIPolylineOptions.
Class Members:
method remove
| Package: | com.dji.mapkit.core.models.annotations |
Description:
Removes the polyline from the map it is on.
method setWidth
void setWidth(float width)
|
| Package: | com.dji.mapkit.core.models.annotations |
Description:
Sets the width of the polyline.
| float width | The width of the polyline. |
method getWidth
| Package: | com.dji.mapkit.core.models.annotations |
Description:
Gets the width of the polyline.
Return:
| float | The width of the polyline. |
method setPoints
void setPoints(List<DJILatLng> points)
|
| Package: | com.dji.mapkit.core.models.annotations |
Description:
Sets the points of the polyline.
| List<DJILatLng> points | The points of the polyline. |
method getPoints
List<DJILatLng> getPoints()
|
| Package: | com.dji.mapkit.core.models.annotations |
Description:
Gets the points of the polyline.
Return:
method setColor
void setColor(@ColorInt int color)
|
| Package: | com.dji.mapkit.core.models.annotations |
Description:
Sets the color of the polyline.
| @ColorInt int color | The color of the polyline. |
method getColor
| Package: | com.dji.mapkit.core.models.annotations |
Description:
Gets the color of the polyline.
Return:
| int | The color of the polyline. |
method setZIndex
void setZIndex(float zIndex)
|
| Package: | com.dji.mapkit.core.models.annotations |
Description:
Sets the zIndex of the polyline.
| float zIndex | The zIndex of the polyline. |
method getZIndex
| Package: | com.dji.mapkit.core.models.annotations |
Description:
Gets the zIndex of the polyline.
Return:
| float | The zIndex of the polyline. |