create

Create a list of circleAnnotations on the map.

CircleAnnotations are going to be created only for features with a matching geometry.

All supported properties are: CircleAnnotationOptions.PROPERTY_CIRCLE_SORT_KEY - Double CircleAnnotationOptions.PROPERTY_CIRCLE_BLUR - Double CircleAnnotationOptions.PROPERTY_CIRCLE_COLOR - String CircleAnnotationOptions.PROPERTY_CIRCLE_OPACITY - Double CircleAnnotationOptions.PROPERTY_CIRCLE_RADIUS - Double CircleAnnotationOptions.PROPERTY_CIRCLE_STROKE_COLOR - String CircleAnnotationOptions.PROPERTY_CIRCLE_STROKE_OPACITY - Double CircleAnnotationOptions.PROPERTY_CIRCLE_STROKE_WIDTH - Double Learn more about above properties in the )The online documentation.

Out of spec properties: "is-draggable" - Boolean, true if the circleAnnotation should be draggable, false otherwise

Return

the list of built circleAnnotations

Parameters

json

the GeoJSON defining the list of circleAnnotations to build

fun create(json: String): List<CircleAnnotation>

Create a list of circleAnnotations on the map.

CircleAnnotations are going to be created only for features with a matching geometry.

All supported properties are: CircleAnnotationOptions.PROPERTY_CIRCLE_SORT_KEY - Double CircleAnnotationOptions.PROPERTY_CIRCLE_BLUR - Double CircleAnnotationOptions.PROPERTY_CIRCLE_COLOR - String CircleAnnotationOptions.PROPERTY_CIRCLE_OPACITY - Double CircleAnnotationOptions.PROPERTY_CIRCLE_RADIUS - Double CircleAnnotationOptions.PROPERTY_CIRCLE_STROKE_COLOR - String CircleAnnotationOptions.PROPERTY_CIRCLE_STROKE_OPACITY - Double CircleAnnotationOptions.PROPERTY_CIRCLE_STROKE_WIDTH - Double Learn more about above properties in the )The online documentation.

Out of spec properties: "is-draggable" - Boolean, true if the circleAnnotation should be draggable, false otherwise

Return

the list of built circleAnnotations

Parameters

featureCollection

the featureCollection defining the list of circleAnnotations to build

fun create(featureCollection: FeatureCollection): List<CircleAnnotation>