CartographicBoundaryViewData

data class CartographicBoundaryViewData(val administrativeUnitName: String, val regions: List<RegionViewData>, val boundingBox: BoundingBoxViewData, val center: GeoLocationViewData, val zIndex: Float)

The data necessary for displaying a cartographic boundary on the view.

Constructors

Link copied to clipboard
constructor(administrativeUnitName: String, regions: List<RegionViewData>, boundingBox: BoundingBoxViewData, center: GeoLocationViewData, zIndex: Float)

Properties

Link copied to clipboard

the name of the Administrative Unit that this boundary belongs to.

Link copied to clipboard

the bounding box that encloses the entire CartographicBoundary.

Link copied to clipboard

the geographic location representing the center of the CartographicBoundary.

Link copied to clipboard

a list of RegionViewData objects. Each object defines a single polygon that contributes to the overall outline of the boundary. Some administrative units may have disconnected territories, hence the list can contain multiple regions.

Link copied to clipboard

the layer order on the map where the boundary should be drawn (higher zIndex means drawn on top of others).