• JMap.Layer.Thematic.setThematicsVisibility

    Shows or hides multiple layer thematics on the map

    Parameters

    Returns void

    Throws

    Error if any layer or thematic are not found

    Example

    // Display the thematic id=3 of layer id=7, and hide the thematic id=1 of layer id=14
    JMap.Layer.Thematic.setThematicsVisibility([
    {layerId: 7, thematicId: 3, visibility: true},
    {layerId: 14, thematicId: 1, visibility: false}
    ])