VectorElementMapBuilder

Class to populate various map components like polygons, polylines and text for VectorElement layers

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun CreateCustomPolygon(@NonNull mapPosVector: MapPosVector, @NonNull fillColor: Color, @NonNull lineColor: Color, lineWidth: Float): Polygon
Method to create custom polygon using the passed parameters
Link copied to clipboard
open fun GenerateErrorBoundary(loc: MercatorTime): MapPosVector

open fun GenerateErrorBoundary(loc: Mercator, mercatorAccuracyRadius: Float): MapPosVector
Method to generate error boundary around the specific location
Link copied to clipboard
open fun GenerateErrorEllipse(loc: MercatorTime): MapPosVector
open fun GenerateErrorEllipse(loc: MercatorTime, p: Float): MapPosVector
Link copied to clipboard
open fun getLineStyle(@NonNull entity: Entity, isSelected: Boolean): LineStyleBuilder
Link copied to clipboard
open fun getPolygon3DStyle(@NonNull entity: Entity, isSelected: Boolean): Polygon3DStyleBuilder
Link copied to clipboard
open fun getPolygonStyle(@NonNull entity: Entity, isSelected: Boolean): PolygonStyleBuilder
Link copied to clipboard
open fun getTextStyle(@NonNull entity: Entity, isSelected: Boolean): TextStyleBuilder
Link copied to clipboard
open fun populateGeometry(@NonNull coreApi: CoreApi, @NonNull entity: Entity, @NonNull entityVectorElements: SparseArray<SparseArray<EntityVectorElements>>, @NonNull iconDetailsMap: Map<String, List<IconDetails>>)
Link copied to clipboard
open fun populateIcon(@NonNull entity: Entity, @NonNull iconDetailsMap: Map<String, List<IconDetails>>)
Populate's Icon into icon style map This is designed for use with the new CartoCSS Styling (although it will be plotted as vector element)
Link copied to clipboard
open fun populateText(@NonNull coreApi: CoreApi, @NonNull entity: Entity, @NonNull perLayerPerEntityVectorElements: SparseArray<SparseArray<EntityVectorElements>>)