Geo Polygon Filter

edit

See Geo Polygon Filter

FilterBuilders.geoPolygonFilter("pin.location")
    .addPoint(40, -70)
    .addPoint(30, -80)
    .addPoint(20, -90);

Note that you can cache the result using GeoPolygonFilterBuilder#cache(boolean) method. See Caching.