Skip to Content
API ReferenceMapLzCircleModel

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

LzCircleModelconstructor(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: String

Hex 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: String

Unique identifier used to reference this circle layer for removal.

opacity

val opacity: Float = 0.9f

Opacity of the circle fill, from 0.0 to 1.0.

radius

val radius: Float = 8.0f

Circle radius in density-independent pixels.

strokeColor

val strokeColor: String

Hex color string for the circle border.

strokeWidth

val strokeWidth: Float = 2.0f

Width of the circle border in density-independent pixels.

Last updated on