Function geoContainsPoint

  • Geospatial filter that matches regions that contain a given lng/lat coordinate.

    Depending on the index type, the filter will match GeoJSON regions within list or map values as well (requires server

    = 3.8).

    Parameters

    • bin: string

      The name of the bin.

    • lng: number

      Longitude of the point.

    • lat: number

      Latitude of the point.

    • OptionalindexType: indexType

      One of indexType, i.e. LIST or MAPVALUES.

    • Optionalctx: Context

      The cdt.Context of the index.

    Returns GeoPredicate

    Secondary Index filter predicate, that can be applied to queries using Query#where.

    v2.0

MMNEPVFCICPMFPCPTTAAATR