Polyline

class Polyline


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

Summary

Public functions

Int

Returns the altitude mode of the polyline.

(Mutable)List<LatLngAltitude!>!

This function is deprecated.

Use getPath instead.

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.

(Mutable)List<LatLngAltitude!>!

Returns the coordinates 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.

Unit

Removes this polyline from the 3d map scene.

Unit

Sets the altitude mode of the polyline.

Unit

Sets the listener for click events on the model.

Unit

This function is deprecated.

Use setPath instead.

Unit

Sets the drawsOccludedSegments of the polyline.

Unit

Sets the geodesic of the polyline.

Unit

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

Unit

Sets the outer width of the polyline.

Unit

Sets the coordinates of the polyline.

Unit

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

Unit

Sets the stroke width of the polyline.

Unit
setZIndex(value: Int)

Sets the zIndex of the marker.

Public functions

getAltitudeMode

@AltitudeMode
fun getAltitudeMode(): Int

Returns the altitude mode of the polyline.

getCoordinates

fun getCoordinates(): (Mutable)List<LatLngAltitude!>!

Returns the coordinates of the polyline.

getDrawsOccludedSegments

fun getDrawsOccludedSegments(): Boolean

Returns the drawsOccludedSegments of the polyline.

getGeodesic

fun getGeodesic(): Boolean

Returns the geodesic of the polyline.

getId

fun getId(): String!

Returns the id of the polyline.

getOuterColor

fun getOuterColor(): Int

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

getOuterWidth

fun getOuterWidth(): Double

Returns the outer width of the polyline.

getPath

fun getPath(): (Mutable)List<LatLngAltitude!>!

Returns the coordinates of the polyline.

getStrokeColor

fun getStrokeColor(): Int

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

getStrokeWidth

fun getStrokeWidth(): Double

Returns the stroke width of the polyline.

getZIndex

fun getZIndex(): Int

Returns the zIndex of the marker.

remove

fun remove(): Unit

Removes this polyline from the 3d map scene.

setAltitudeMode

fun setAltitudeMode(@AltitudeMode value: Int): Unit

Sets the altitude mode of the polyline.

setClickListener

fun setClickListener(listener: OnPolylineClickListener?): Unit

Sets the listener for click events on the model.

setCoordinates

fun setCoordinates(value: (Mutable)List<LatLngAltitude!>!): Unit

Sets the coordinates of the polyline.

setDrawsOccludedSegments

fun setDrawsOccludedSegments(value: Boolean): Unit

Sets the drawsOccludedSegments of the polyline.

setGeodesic

fun setGeodesic(value: Boolean): Unit

Sets the geodesic of the polyline.

setOuterColor

fun setOuterColor(value: Int): Unit

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

setOuterWidth

fun setOuterWidth(value: Double): Unit

Sets the outer width of the polyline.

setPath

fun setPath(value: (Mutable)List<LatLngAltitude!>!): Unit

Sets the coordinates of the polyline.

setStrokeColor

fun setStrokeColor(value: Int): Unit

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

setStrokeWidth

fun setStrokeWidth(value: Double): Unit

Sets the stroke width of the polyline.

setZIndex

fun setZIndex(value: Int): Unit

Sets the zIndex of the marker.