• JMap.Layer.Thematic.setConditionVisibility

    Shows or hides a specific layer thematic condition on the map.

    Works only for JMap Cloud server.

    Returns void

    Throws

    Error if layer or thematic is not found, or thematic is not a style rule thematic, or if an invalid param is provided

    Example

    // Hide condition of thematic id="ac7b197c-ca14-4295-b349-8cba6a4dc631" of layer id="53ff7632-0d5e-497a-a1b0-25ce3f941023"
    JMap.Layer.Thematic.setConditionVisibility({
    layerId: "53ff7632-0d5e-497a-a1b0-25ce3f941023",
    thematicId: "ac7b197c-ca14-4295-b349-8cba6a4dc631",
    conditionId: "ac7b197c-ca14-4295-b349-8cba6a4dc631",
    visibility: false // false to hide, true to show
    })