Refactor function layersOnMapEvent. Due to the removal of map.forEachLayerAtPixel in OpenLayers 7, the function works completely differently now. Iterate over all layers and test for feature or getData instead of just testing for color at a pixel. This also fixes Issue #120
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number:
What is the new behavior?
closes #157
closes #158
closes #120
include metropolis font for vector tile styles in demo-maps
do not trigger ci for packages on review_requested
do not trigger ci for test on PR closed
Refactor function
layersOnMapEvent
. Due to the removal of map.forEachLayerAtPixel in OpenLayers 7, the function works completely differently now. Iterate over all layers and test forfeature
orgetData
instead of just testing for color at a pixel. This also fixes Issue #120For all changes see https://github.com/dlr-eoc/ukis-frontend-libraries/compare/update-ol?expand=1&short_path=06572a9#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
Does this PR introduce a breaking change?
Other information
Is it part of one/more packages and which?
Current alpha version 11.0.0-alpha.1