• JMap.Layer.DynamicFilter.set

    Set multiple layer's dynamic filters at once.

    If some conditions where already set, will destroy them and replace it with the new given conditions.

    Parameters

    Returns void

    Throws

    if invalid params

    Example

    // set layer's id=3 dynamic filter
    JMap.Layer.DynamicFilter.set([{
    layerId: 3,
    conditions: [{
    layerId: 3,
    attributeName: "name",
    filterOperator: "EQUALS",
    value: ["Ottawa"]
    }]
    }])