Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

AddComputedProperty
AddFeatureProperty
MgFeatureQueryOptions
RemoveComputedProperty
RemoveFeatureProperty
SetBinaryOperator
SetFilter
SetOrderingFilter
SetSpatialFilter
void MgFeatureQueryOptions::SetBinaryOperator | ( | bool | andOr | ) |
Use this method to join a regular filter with a spatial filter An argument of TRUE results in an AND join, and an argument of FALSE results in an OR join. The binary operator applies only when both the SetFilter() and SetSpatialFilter() methods have been called. If both have been called and SetBinaryOperator() has not been called, an AND join is applied. Remarks: The default is an AND join. .NET Syntax
`void SetBinaryOperator(bool andOr);`
Java Syntax
`void SetBinaryOperator(boolean andOr);`
PHP Syntax
`void SetBinaryOperator(bool andOr);`
  Parameters:
  | andOr | (boolean/bool) If true, apply an AND join; otherwise apply an OR join.
Returns: Nothing

Comments or suggestions? Send us feedback.