GeoJsonPolygonStyle

open class GeoJsonPolygonStyle : Style, GeoJsonStyle

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

Constructors

Link copied to clipboard
constructor()
Creates a new PolygonStyle 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 getFillColor(): Int
Gets the fill color of the GeoJsonPolygon 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 getRotation(): Float
Gets the rotation of a marker in degrees clockwise about the marker's anchor
Link copied to clipboard
open fun getStrokeColor(): Int
Gets the stroke color of the GeoJsonPolygon as a 32-bit ARGB color
Link copied to clipboard
Gets the stroke joint type of the GeoJsonPolygon
Link copied to clipboard
open fun getStrokePattern(): List<PatternItem>
Gets the stroke pattern of the GeoJsonPolygon as a list of pattern items
Link copied to clipboard
open fun getStrokeWidth(): Float
Gets the stroke width of the GeoJsonPolygon in screen pixels
Link copied to clipboard
open fun getZIndex(): Float
Gets the z index of the GeoJsonPolygon
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 GeoJsonPolygon is geodesic
Link copied to clipboard
open fun isVisible(): Boolean
Gets whether the GeoJsonPolygon is visible
Link copied to clipboard
open fun notifyObservers()
Link copied to clipboard
open fun setClickable(clickable: Boolean)
Specifies whether this GeoJsonPolygon is clickable
Link copied to clipboard
open fun setFillColor(fillColor: Int)
Sets the fill color of the GeoJsonPolygon as a 32-bit ARGB color
Link copied to clipboard
open fun setGeodesic(geodesic: Boolean)
Sets whether the GeoJsonPolygon 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 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 setStrokeColor(strokeColor: Int)
Sets the stroke color of the GeoJsonPolygon as a 32-bit ARGB color
Link copied to clipboard
open fun setStrokeJointType(strokeJointType: Int)
Sets the stroke joint type of the GeoJsonPolygon
Link copied to clipboard
open fun setStrokePattern(strokePattern: List<PatternItem>)
Sets the stroke pattern of the GeoJsonPolygon as a list of pattern items
Link copied to clipboard
open fun setStrokeWidth(strokeWidth: Float)
Sets the stroke width of the GeoJsonPolygon in screen pixels
Link copied to clipboard
open fun setVisible(visible: Boolean)
Sets whether the GeoJsonPolygon is visible
Link copied to clipboard
open fun setZIndex(zIndex: Float)
Sets the z index of the GeoJsonPolygon
Link copied to clipboard
open fun toPolygonOptions(): PolygonOptions
Gets a new PolygonOptions object containing styles for the GeoJsonPolygon
Link copied to clipboard
open fun toString(): String