• JMap.Layer.Thematic.setCategoryVisibility

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

    Returns void

    Throws

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

    Example

    // Hide the first category of thematic id=3 of layer id=7
    JMap.Layer.Thematic.setCategoryVisibility({
    layerId: 7,
    thematicId: 3,
    categoryIndex: 0,
    visibility: false
    })