You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It should be changed to add new filter to existing when calling thematicLayer.mergeNewParams
But cannot simply just add, because it's different logic if existing map filter already contains filter for current layer or it contains filter for any other layer.
Thank you for your reply.
I understand that it is not easy to fix this issue.
Is there any better workaroud for this?
For workaroud, I am thinking about making two layers into one layer
and apply filter to that unioned layer.
But in that case I need to filter text using "IN" or "OR" conditions...
For example,
Layer1 has country names with geom data
country1 geom
country2 geom
Layer2 has city names with geom data
city1 geom
city2 geom
I can make Layer3 which both have country and city names with geom data
country1 geom
country2 geom
city1 geom
city2 geom
but if I want to show only country1 and city2 on Map, I need to filter
the attribute by querying something like "name IN ('country1', 'city2')"
It seems like we cannot use IN clause nor Or clause for filtering attribute table,
but is there any change to modify the code with least work possible?
Hi
When I open attribute table to filter my layers,
if filtering only one layer, it works well so that it will display filtered points corrently.
But when I filter two or more layers at the same time, it won't display filtered points correctly.
It seems like the last filtered information is always used so that old filtered information is ignored for some reason.
Do you have any ideas on this behaviour? or any workaround for this?
The text was updated successfully, but these errors were encountered: