Interface PoiFilterInterface

Filter builder for POIs, to be used with filter

Hierarchy

Methods

  • Return only items with an attribute value matching the specified values.

    If multiple attribute key value pairs are supplied, only points of interest that have attribute values matching ALL key value pairs in the dictionary are returned.

    Parameters

    • attributes: Dictionary<string>

      The attribute values

    Returns PoiFilterInterface

  • Return only items that are inside the specified bounding box.

    Parameters

    • xMin: number

      Lower X coordinate.

    • yMin: number

      Lower Y coordinate.

    • xMax: number

      Upper X coordinate.

    • yMax: number

      Upper Y coordinate.

    Returns PoiFilterInterface

  • Regularly subsample the list of items returned.

    Deprecated

    use with items with non-sequential IDs might lead to inconsistent results

    Parameters

    • step: number

      Step size, where 1 returns every item, 2 returns every other item, etc.

    Returns PoiFilterInterface

Generated using TypeDoc