Polyline

public class Polyline


A representation of a polyline object in a 3D map.

Summary

Public methods

int

Returns the altitude mode of the polyline.

List<LatLngAltitude>

Returns the coordinates of the polyline.

boolean

Returns the drawsOccludedSegments of the polyline.

boolean

Returns the geodesic of the polyline.

String

Returns the id of the polyline.

int

Returns the outer color of the polyline in ARGB format, i.e. 0xffffffff.

double

Returns the outer width of the polyline.

int

Returns the stroke color of the polyline in ARGB format, i.e. 0xffffffff.

double

Returns the stroke width of the polyline.

int

Returns the zIndex of the marker.

void

Removes this polyline from the 3d map scene.

void

Sets the altitude mode of the polyline.

void

Sets the coordinates of the polyline.

void
setDrawsOccludedSegments(boolean value)

Sets the drawsOccludedSegments of the polyline.

void
setGeodesic(boolean value)

Sets the geodesic of the polyline.

void
setOuterColor(int value)

Sets the outer color of the polyline in ARGB format, i.e. 0xffffffff.

void
setOuterWidth(double value)

Sets the outer width of the polyline.

void
setStrokeColor(int value)

Sets the stroke color of the polyline in ARGB format, i.e. 0xffffffff.

void
setStrokeWidth(double value)

Sets the stroke width of the polyline.

void
setZIndex(int value)

Sets the zIndex of the marker.

Public methods

getAltitudeMode

@AltitudeMode
public int getAltitudeMode()

Returns the altitude mode of the polyline.

getCoordinates

public List<LatLngAltitudegetCoordinates()

Returns the coordinates of the polyline.

getDrawsOccludedSegments

public boolean getDrawsOccludedSegments()

Returns the drawsOccludedSegments of the polyline.

getGeodesic

public boolean getGeodesic()

Returns the geodesic of the polyline.

getId

public String getId()

Returns the id of the polyline.

getOuterColor

public int getOuterColor()

Returns the outer color of the polyline in ARGB format, i.e. 0xffffffff.

getOuterWidth

public double getOuterWidth()

Returns the outer width of the polyline.

getStrokeColor

public int getStrokeColor()

Returns the stroke color of the polyline in ARGB format, i.e. 0xffffffff.

getStrokeWidth

public double getStrokeWidth()

Returns the stroke width of the polyline.

getZIndex

public int getZIndex()

Returns the zIndex of the marker.

remove

public void remove()

Removes this polyline from the 3d map scene.

setAltitudeMode

public void setAltitudeMode(@AltitudeMode int value)

Sets the altitude mode of the polyline.

setCoordinates

public void setCoordinates(List<LatLngAltitude> value)

Sets the coordinates of the polyline.

setDrawsOccludedSegments

public void setDrawsOccludedSegments(boolean value)

Sets the drawsOccludedSegments of the polyline.

setGeodesic

public void setGeodesic(boolean value)

Sets the geodesic of the polyline.

setOuterColor

public void setOuterColor(int value)

Sets the outer color of the polyline in ARGB format, i.e. 0xffffffff.

setOuterWidth

public void setOuterWidth(double value)

Sets the outer width of the polyline.

setStrokeColor

public void setStrokeColor(int value)

Sets the stroke color of the polyline in ARGB format, i.e. 0xffffffff.

setStrokeWidth

public void setStrokeWidth(double value)

Sets the stroke width of the polyline.

setZIndex

public void setZIndex(int value)

Sets the zIndex of the marker.