• JMap.Application.Annotation.setStyleByAnnotationIds

    For given ids, updates annotation style.

    Parameters

    Returns void

    Example

    const annotationIds = [
    "d68385b01be3c241c7b6298b2788839d",
    "98ef8ad4476f0e6fa26be416d58d0734"
    ]

    const customStyle = {
    lineWidth: 3
    }

    // Set custom style for 2 annotations
    JMap.Application.Annotation.setStyleByAnnotationIds(annotationIds, customStyle)