• JMap.Application.Annotation.setSnapEnabled

    Enables or disables snap mode.

    Parameters

    • isEnabled: boolean

      true to enable snap mode, false to disable

    Returns void

    Throws

    if isEnabled is not a boolean

    Example

    // enable snap mode
    JMap.Application.Annotation.setSnapEnabled(true)