create

Create a list of polylineAnnotations on the map.

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

All supported properties are: PolylineAnnotationOptions.PROPERTY_LINE_JOIN - LineJoin PolylineAnnotationOptions.PROPERTY_LINE_SORT_KEY - Double PolylineAnnotationOptions.PROPERTY_LINE_BLUR - Double PolylineAnnotationOptions.PROPERTY_LINE_BORDER_COLOR - String PolylineAnnotationOptions.PROPERTY_LINE_BORDER_WIDTH - Double PolylineAnnotationOptions.PROPERTY_LINE_COLOR - String PolylineAnnotationOptions.PROPERTY_LINE_GAP_WIDTH - Double PolylineAnnotationOptions.PROPERTY_LINE_OFFSET - Double PolylineAnnotationOptions.PROPERTY_LINE_OPACITY - Double PolylineAnnotationOptions.PROPERTY_LINE_PATTERN - String PolylineAnnotationOptions.PROPERTY_LINE_WIDTH - Double Learn more about above properties in the )The online documentation.

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

Return

the list of built polylineAnnotations

Parameters

json

the GeoJSON defining the list of polylineAnnotations to build


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

Create a list of polylineAnnotations on the map.

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

All supported properties are: PolylineAnnotationOptions.PROPERTY_LINE_JOIN - LineJoin PolylineAnnotationOptions.PROPERTY_LINE_SORT_KEY - Double PolylineAnnotationOptions.PROPERTY_LINE_BLUR - Double PolylineAnnotationOptions.PROPERTY_LINE_BORDER_COLOR - String PolylineAnnotationOptions.PROPERTY_LINE_BORDER_WIDTH - Double PolylineAnnotationOptions.PROPERTY_LINE_COLOR - String PolylineAnnotationOptions.PROPERTY_LINE_GAP_WIDTH - Double PolylineAnnotationOptions.PROPERTY_LINE_OFFSET - Double PolylineAnnotationOptions.PROPERTY_LINE_OPACITY - Double PolylineAnnotationOptions.PROPERTY_LINE_PATTERN - String PolylineAnnotationOptions.PROPERTY_LINE_WIDTH - Double Learn more about above properties in the )The online documentation.

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

Return

the list of built polylineAnnotations

Parameters

featureCollection

the featureCollection defining the list of polylineAnnotations to build