I am writing a filter widget. Based on Crime Mapper
I need advice on how to proceed with my widget.
A demo of what my widget does (not the current version) filter demo Application.
EDIT:
Version 2 Filter Demo2
I used the local Layer widget and added some of my own code. At this point the widget will apply a definition expression to the layers that have been configured when setting up the widget. The user can then update the expression with pre defined values.
The problem is that one definition is applied to all layers. And it is also not easy to configure.