Method GeoWithinPolygon
GeoWithinPolygon(FieldDefinition<TDocument>, double[,])
Creates a geo within polygon filter.
public FilterDefinition<TDocument> GeoWithinPolygon(FieldDefinition<TDocument> field, double[,] points)
Parameters
field
FieldDefinition<TDocument>The field.
points
double[,]The points.
Returns
- FilterDefinition<TDocument>
A geo within polygon filter.
GeoWithinPolygon(Expression<Func<TDocument, object>>, double[,])
Creates a geo within polygon filter.
public FilterDefinition<TDocument> GeoWithinPolygon(Expression<Func<TDocument, object>> field, double[,] points)
Parameters
field
Expression<Func<TDocument, object>>The field.
points
double[,]The points.
Returns
- FilterDefinition<TDocument>
A geo within polygon filter.