A toolbox for working with OpenLayers, in particular with RxJs-based event handling.
Generally speaking, this library contains two different types of utilities:
.setMap(...)
/.setView(...)
function has been called. This way, they can be
instantiated early and, say, become part of a dependency injection hierarchy or central "Map Service", even if the
actual map they will work on has not been created yet. (Such as when the map is based on a live Capabilities file
which needs to be fetched asynchronously).Install with
npm install @northtech/openlayers-tools@^1