Greetings,
I'm developing an Android app (Java) using the Runtime SDK for Android.
I'm trying to create a definition condition for a FeatureLayer, to only show features with 'Tipo = Autotanque' and with 'Capacidade > 500 (liters)'.
I tried the following lines of code:
SpoilerfeatureLayer.setDefinitionExpression("Tipo = 'Autotanque' WHERE CAPACIDADE > '500'"); SpoilerfeatureLayer.setDefinitionExpression("Tipo = 'Autotanque' AND CAPACIDADE > '500'"); After testing only the first part of the expression (Tipo = 'Autotanque'), it worked, but the second part of the definition expression is not being read properly as no features are shown.
Please guide me on how to build this expression.
Thank you very much in advance.
Cheers