GeoJsonLineStringStyle

open class GeoJsonLineStringStyle : Style, GeoJsonStyle

A class that allows for GeoJsonLineString objects to be styled and for these styles to be translated into a PolylineOptions object. {@see * * PolylineOptions docs for more details about the options.}

Constructors

Link copied to clipboard
constructor()
Creates a new LineStringStyle object

Functions

Link copied to clipboard
open fun addObserver(o: Observer)
Link copied to clipboard
open fun countObservers(): Int
Link copied to clipboard
Link copied to clipboard
open fun deleteObservers()
Link copied to clipboard
open fun getColor(): Int
Gets the color of the GeoJsonLineString as a 32-bit ARGB color
Link copied to clipboard
Gets the type of geometries this style can be applied to
Link copied to clipboard
open fun getPattern(): List<PatternItem>
Gets the pattern of the GeoJsonLineString
Link copied to clipboard
open fun getRotation(): Float
Gets the rotation of a marker in degrees clockwise about the marker's anchor
Link copied to clipboard
open fun getWidth(): Float
Gets the width of the GeoJsonLineString in screen pixels
Link copied to clipboard
open fun getZIndex(): Float
Gets the z index of the GeoJsonLineString
Link copied to clipboard
open fun hasChanged(): Boolean
Link copied to clipboard
open fun isClickable(): Boolean
Gets the clickability setting for this Options object
Link copied to clipboard
open fun isGeodesic(): Boolean
Gets whether the GeoJsonLineString is geodesic
Link copied to clipboard
open fun isVisible(): Boolean
Gets whether the GeoJsonLineString is visible
Link copied to clipboard
open fun notifyObservers()
Link copied to clipboard
open fun setClickable(clickable: Boolean)
Specifies whether this GeoJsonLineString is clickable
Link copied to clipboard
open fun setColor(color: Int)
Sets the color of the GeoJsonLineString as a 32-bit ARGB color
Link copied to clipboard
open fun setGeodesic(geodesic: Boolean)
Sets whether the GeoJsonLineString is geodesic
Link copied to clipboard
open fun setLineStringWidth(width: Float)
Sets the width of the LineString in screen pixels
Link copied to clipboard
open fun setMarkerHotSpot(x: Float, y: Float, xUnits: String, yUnits: String)
Sets the hotspot / anchor point of a marker
Link copied to clipboard
open fun setMarkerRotation(rotation: Float)
Sets the rotation / heading of the Point in degrees clockwise about the marker's anchor
Link copied to clipboard
open fun setPattern(pattern: List<PatternItem>)
Sets the pattern of the GeoJsonLineString
Link copied to clipboard
open fun setPolygonFillColor(fillColor: Int)
Sets the fill color of the Polygon as a 32-bit ARGB color
Link copied to clipboard
open fun setPolygonStrokeWidth(strokeWidth: Float)
Sets the stroke width of the Polygon in screen pixels
Link copied to clipboard
open fun setVisible(visible: Boolean)
Sets whether the GeoJsonLineString is visible
Link copied to clipboard
open fun setWidth(width: Float)
Sets the width of the GeoJsonLineString in screen pixels
Link copied to clipboard
open fun setZIndex(zIndex: Float)
Sets the z index of the GeoJsonLineString
Link copied to clipboard
open fun toPolylineOptions(): PolylineOptions
Gets a new PolylineOptions object containing styles for the GeoJsonLineString
Link copied to clipboard
open fun toString(): String