• JMap.Layer.Thematic.getAllByLayerId

    Returns all thematics for the specified layer.

    Parameters

    • layerId: JId

      The JMap layer id

    Returns JLayerThematic[]

    Throws

    Error if no layer found for the id, or if the layer is a layer group.

    Example

    // returns all thematics of layer id=4
    JMap.Layer.Thematic.getAllByLayerId(4)