Polygon Annotation Options
Builder class from which a polygonAnnotation is created.
class PolygonAnnotationOptions : AnnotationOptions<Polygon, PolygonAnnotation>
Content copied to clipboard
Constructors
PolygonAnnotationOptions
Link copied to clipboard
fun PolygonAnnotationOptions()
Content copied to clipboard
Types
Functions
build
Link copied to clipboard
open override fun build(id: Long, annotationManager: AnnotationManager<Polygon, PolygonAnnotation, *, *, *, *, *>): PolygonAnnotation
Content copied to clipboard
equals
Link copied to clipboard
getDraggable
Link copied to clipboard
getGeometry
Link copied to clipboard
withData
Link copied to clipboard
withDraggable
Link copied to clipboard
withFillColor
Link copied to clipboard
withFillOpacity
Link copied to clipboard
withFillOutlineColor
Link copied to clipboard
fun withFillOutlineColor(fillOutlineColor: Int): PolygonAnnotationOptions
Content copied to clipboard
fun withFillOutlineColor(fillOutlineColor: String): PolygonAnnotationOptions
Content copied to clipboard
withFillPattern
Link copied to clipboard
withFillSortKey
Link copied to clipboard
withGeometry
Link copied to clipboard
withPoints
Link copied to clipboard
Properties
fillColor
Link copied to clipboard
fillOpacity
Link copied to clipboard
The opacity of the entire fill layer. In contrast to the fill-color
, this value will also affect the 1px stroke around the fill, if the stroke is used.
fillOutlineColor
Link copied to clipboard
The outline color of the fill. Matches the value of fill-color
if unspecified.
fillPattern
Link copied to clipboard
Name of image in sprite to use for drawing image fills. For seamless patterns, image width and height must be a factor of two (2, 4, 8, ..., 512). Note that zoom-dependent expressions will be evaluated only at integer zoom levels.
fillSortKey
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.