I am using esri's feature service and ersi-leaflet library to display my map. The following code snippet is used to display
var countries = L.esri.featureLayer(featureURL,
At this time, it is displaying all the countries.
I'd like to display (or highlight) only the countries that satisfies a certain filter or query.
For example, I want to display only the countries that satisfy the filter/query type = SDG.
I reviewed the docs and examples for esri-leaflet library but am totally lost as to how use the query method.
Can someone point me to an example that show how to use the filter/query to do the above