Hello,
I created my feature action similar to ViewInAttributeTableFeatureAction but it opens a different widget. Is possible to show my feature action only if clicked/selected element in map has a specific attribute? I need the feature action available only for specific layers.
Thanks for help
Solved! Go to Solution.
Zdeněk,
Sure that is what the isFeatureSupported function is for. isFeatureSupported has a featureset and layer property that you can use to determine if this is the specific layer you are wanting to enable the feature action for.
Zdeněk,
Sure that is what the isFeatureSupported function is for. isFeatureSupported has a featureset and layer property that you can use to determine if this is the specific layer you are wanting to enable the feature action for.
Robert,
you save the day again.
Thanks!