CircleOptions

Builder class from which a circle is created.

class CircleOptions : AnnotationOptions<Point, Circle>

Constructors

CircleOptions
Link copied to clipboard
fun CircleOptions()

Types

Companion
Link copied to clipboard

Static variables and methods.

object Companion

Functions

build
Link copied to clipboard

Build an annotation

open override fun build(id: Long, annotationManager: AnnotationManager<Point, Circle, *, *, *, *>): Circle
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
getData
Link copied to clipboard

Get the arbitrary json data of the annotation.

fun getData(): JsonElement?
getDraggable
Link copied to clipboard

Returns whether this circle is draggable, meaning it can be dragged across the screen when touched and moved.

fun getDraggable(): Boolean
getGeometry
Link copied to clipboard

Get the geometry of the circle, which represents the location of the circle on the map

fun getGeometry(): Point?
getPoint
Link copied to clipboard

Get the Point of the circle, which represents the location of the circle on the map

fun getPoint(): Point?
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String
withCircleBlur
Link copied to clipboard

Set circle-blur to initialise the circle with.

<p> Amount to blur the circle. 1 blurs the circle such that only the centerpoint is full opacity. </p>

fun withCircleBlur(circleBlur: Double): CircleOptions
withCircleColor
Link copied to clipboard

Set circle-color to initialise the circle with.

<p> The fill color of the circle. </p>

fun withCircleColor(circleColor: String): CircleOptions
withCircleOpacity
Link copied to clipboard

Set circle-opacity to initialise the circle with.

<p> The opacity at which the circle will be drawn. </p>

fun withCircleOpacity(circleOpacity: Double): CircleOptions
withCircleRadius
Link copied to clipboard

Set circle-radius to initialise the circle with.

<p> Circle radius. </p>

fun withCircleRadius(circleRadius: Double): CircleOptions
withCircleSortKey
Link copied to clipboard

Set circle-sort-key to initialise the circle with.

<p> Sorts features in ascending order based on this value. Features with a higher sort key will appear above features with a lower sort key. </p>

fun withCircleSortKey(circleSortKey: Double): CircleOptions
withCircleStrokeColor
Link copied to clipboard

Set circle-stroke-color to initialise the circle with.

<p> The stroke color of the circle. </p>

fun withCircleStrokeColor(circleStrokeColor: String): CircleOptions
withCircleStrokeOpacity
Link copied to clipboard

Set circle-stroke-opacity to initialise the circle with.

<p> The opacity of the circle's stroke. </p>

fun withCircleStrokeOpacity(circleStrokeOpacity: Double): CircleOptions
withCircleStrokeWidth
Link copied to clipboard

Set circle-stroke-width to initialise the circle with.

<p> The width of the circle's stroke. Strokes are placed outside of the {@link PropertyFactory#circleRadius}. </p>

fun withCircleStrokeWidth(circleStrokeWidth: Double): CircleOptions
withData
Link copied to clipboard

Set the arbitrary json data of the annotation.

fun withData(jsonElement: JsonElement): CircleOptions
withDraggable
Link copied to clipboard

Set whether this circle should be draggable, meaning it can be dragged across the screen when touched and moved.

fun withDraggable(draggable: Boolean): CircleOptions
withGeometry
Link copied to clipboard

Set the geometry of the circle, which represents the location of the circle on the map

fun withGeometry(geometry: Point): CircleOptions
withPoint
Link copied to clipboard

Set the Point of the circle, which represents the location of the circle on the map

fun withPoint(point: Point): CircleOptions

Properties

circleBlur
Link copied to clipboard

Amount to blur the circle. 1 blurs the circle such that only the centerpoint is full opacity.

var circleBlur: Double
circleColor
Link copied to clipboard

The fill color of the circle.

var circleColor: String
circleOpacity
Link copied to clipboard

The opacity at which the circle will be drawn.

var circleOpacity: Double
circleRadius
Link copied to clipboard

Circle radius.

var circleRadius: Double
circleSortKey
Link copied to clipboard

Sorts features in ascending order based on this value. Features with a higher sort key will appear above features with a lower sort key.

var circleSortKey: Double?
circleStrokeColor
Link copied to clipboard

The stroke color of the circle.

var circleStrokeColor: String
circleStrokeOpacity
Link copied to clipboard

The opacity of the circle's stroke.

var circleStrokeOpacity: Double
circleStrokeWidth
Link copied to clipboard

The width of the circle's stroke. Strokes are placed outside of the circle-radius.

var circleStrokeWidth: Double