Registers a moveend listener on the map to re-fetch OGC features when the viewport changes. The listener is debounced to avoid flooding the server.
moveend
MapLibre map instance (minimal interface).
OGC API source configuration.
Callback invoked with the current viewport bbox on each refresh.
A cleanup function that removes the listener. Call it on layer removal.
Registers a
moveendlistener on the map to re-fetch OGC features when the viewport changes. The listener is debounced to avoid flooding the server.