Jaa


FilterCompareOperator Enumeration

Note

Bing Maps Web Control SDK retirement

Bing Maps Web Control SDK is deprecated and will be retired. Free (Basic) account customers can continue to use Bing Maps Web Control SDK until June 30th, 2025. Enterprise account customers can continue to use Bing Maps Web Control SDK until June 30th, 2028. To avoid service disruptions, all implementations using Bing Maps Web Control SDK will need to be updated to use Azure Maps Web SDK by the retirement date that applies to your Bing Maps for Enterprise account type. For detailed migration guidance, see Migrate from Bing Maps Web Control SDK and Migrate Bing Maps Enterprise applications to Azure Maps with GitHub Copilot.

Azure Maps is Microsoft's next-generation maps and geospatial services for developers. Azure Maps has many of the same features as Bing Maps for Enterprise, and more. To get started with Azure Maps, create a free Azure subscription and an Azure Maps account. For more information about azure Maps, see Azure Maps Documentation. For migration guidance, see Bing Maps Migration Overview.

An enumeration that defines how to compare the filters value against the corresponding property value.

Name String Operator Description
endsWith endsWith Determines if a string value ends with a specified string value
equals eq Determines if two values are equal.
greaterThan gt Determines if a first value is greater than a second value.
greaterThanOrEqual ge Determines if a first value is greater than or equal to a second value.
isIn in Determines if a value is within an array.
lessThan lt Determines if a first value is less than a second value.
lessThanOrEqual le Determines if a first value is less than or equal a second value.
notEndsWith not endsWith Determines if a string value does not end with a specified string value.
notEquals ne Determines if two values are not equal.
notStartsWith not startsWith Determines if a string value does not start with a specified string value.
startsWith statrsWith Determines if a string value starts with a specified string value.

Tip

The string operator version of the enumeration can be used with the Filter class as an alternative to using the enumeration object. This would reduce the amount of code that you would need to write to create a filter, but may make it less clear what the filter does.

Note

If an object type that is not supported by a filter compare operator is used, executing the filter will return false.

Note

The NavteqNA and NavteqEU data sources do not support the endsWith, notEndsWith, notStartsWith, or startsWith filter compare operators.