populatePolygon

fun populatePolygon(coreApi: CoreApi, polygon: MapPolygon, entity: Entity, featureVectorMap: ConcurrentHashMap<String, FeatureVector>, iconDetailsMap: ConcurrentHashMap<String, List<IconDetails>>)

Populate's Polygon Geometry into feature vector map and/or icon style map This is designed for use with the new CartoCSS Styling

Parameters

polygon

The polygon to populate

featureVectorMap

The feature vector map with key layerName

iconDetailsMap

The icon style map with key imageId