KmlStyle

open class KmlStyle : Style

Represents the defined styles in the KML document

Functions

Link copied to clipboard
open fun addObserver(o: Observer)
Link copied to clipboard
open fun computeRandomColor(color: Int): Int
Computes a random color given an integer.
Link copied to clipboard
open fun countObservers(): Int
Link copied to clipboard
Link copied to clipboard
open fun deleteObservers()
Link copied to clipboard
Gets the balloon options
Link copied to clipboard
open fun getIconScale(): Double
Gets the scale for a marker icon
Link copied to clipboard
open fun getIconUrl(): String
Gets the url for the marker icon
Link copied to clipboard
open fun getMarkerOptions(): MarkerOptions
Gets a MarkerOption
Link copied to clipboard
open fun getPolygonOptions(): PolygonOptions
Gets a PolygonOption
Link copied to clipboard
open fun getPolylineOptions(): PolylineOptions
Gets a PolylineOption
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
Gets whether a BalloonStyle has been set
Link copied to clipboard
open fun hasChanged(): Boolean
Link copied to clipboard
open fun hasFill(): Boolean
Gets whether the Polygon fill is set
Link copied to clipboard
open fun hasOutline(): Boolean
Gets whether the Polygon outline is set
Link copied to clipboard
Checks whether the color mode for a polyline is true / random
Link copied to clipboard
Checks whether the color mode for a polygon is true / random
Link copied to clipboard
open fun isStyleSet(style: String): Boolean
Checks if a given style (for a marker, linestring or polygon) has been set
Link copied to clipboard
open fun notifyObservers()
Link copied to clipboard
open fun setFill(fill: Boolean)
Sets whether the Polygon has a fill
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 toString(): String