Open paul121 opened 1 year ago
I only see one usage of the map.forEachLayerAtPixel
method in farmOS-map core: https://github.com/farmOS/farmOS-map/blob/e90a9f8f3f36cb027a5ccdcec65b9a95c22b935a/examples/simple-html-consumer/static/index.html#L42
We use it much more in farmOS core for the "popup" behavior.
@paul121 We don't use forEachLayerAtPixel()
in either farmOS core or farmOS-map core, we use forEachFeatureAtPixel()
, which hasn't been deprecated.
forEachFeatureAtPixel()
is still part of OL 7.1.0: https://openlayers.org/en/latest/apidoc/module-ol_Map-Map.html#forEachFeatureAtPixel
Oh my, good catch thanks @mstenta !!
Tracking for bumping the OL dependency to v7: https://github.com/openlayers/openlayers/releases/tag/v7.0.0
I noticed a couple breaking changes that may effect us:
I know we use this downstream in farmOS, likely in farmOS-map too?
Might not directly effect us but should check on the ol-popup library which uses an overlay.