LzCircleModel
data class LzCircleModel(val identifier: String, val coordinates: List<LatLng>, val radius: Float = 8.0f, val color: String = "#2196F3", val opacity: Float = 0.9f, val strokeColor: String = "#FFFFFF", val strokeWidth: Float = 2.0f)Describes a circle layer overlay to be drawn on the map.
Each coordinate in the list produces a distinct circle marker on the map. This matches the iOS SDK’s LZCircleModel for cross-platform parity.
Constructors
LzCircleModel | constructor(identifier: String , coordinates: List <LatLng>, radius: Float = 8.0f, color: String = “#2196F3”, opacity: Float = 0.9f, strokeColor: String = “#FFFFFF”, strokeWidth: Float = 2.0f) |
Properties
color
val color: StringHex color string for the circle fill (e.g. “#FF9800”).
coordinates
val coordinates: List<LatLng>List of lat/lng positions where circles will be drawn.
identifier
val identifier: StringUnique identifier used to reference this circle layer for removal.
opacity
val opacity: Float = 0.9fOpacity of the circle fill, from 0.0 to 1.0.
radius
val radius: Float = 8.0fCircle radius in density-independent pixels.
strokeColor
val strokeColor: StringHex color string for the circle border.
strokeWidth
val strokeWidth: Float = 2.0fWidth of the circle border in density-independent pixels.
Last updated on