origo icon indicating copy to clipboard operation
origo copied to clipboard

In featureinfo.showInfo, fallback on getfeature if getSource().getFeatureById returns null

Open jokd opened this issue 3 years ago • 3 comments

There are cases where a feature isn't loaded in the source, eg when using loadingstretegy bbox or using the API. Then it is useful to instead make a getfeature call to get the feature. Adding a few lines to featureinfo.showInfo would probably solve this and add useful functionality to the API.

jokd avatar Jan 28 '22 07:01 jokd