# @northtech/openlayers-tools

> TypeScript utilities for OpenLayers

Latest version **1.1.0** (published 2022-01-06) · ISC license · 0 weekly downloads

## Install

```sh
npm install @northtech/openlayers-tools
pnpm add @northtech/openlayers-tools
yarn add @northtech/openlayers-tools
bun add @northtech/openlayers-tools
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2022-01-06 |
| First published | 2020-01-10 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 2.5 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | JWN |
| Maintainers | wulfsberg |

## Links

- npm: https://www.npmjs.com/package/@northtech/openlayers-tools
- npm.io page: https://npm.io/package/@northtech/openlayers-tools

## Dependencies (2)

- [@northtech/ratatosk](https://npm.io/package/@northtech/ratatosk.md) ^1.1.0
- [@northtech/ginnungagap](https://npm.io/package/@northtech/ginnungagap.md) ^1.2.1

## Recent versions

- 1.1.0 (latest) — 2022-01-06
- 1.1.0-rc.0 — 2022-01-05
- 1.0.2 — 2021-03-18
- 1.0.1 — 2021-03-17
- 1.0.0 — 2021-03-16
- 1.0.0-rc.3 — 2020-02-17
- 1.0.0-rc.2 — 2020-02-07
- 1.0.0-rc.1 — 2020-02-07
- 1.0.0-rc.0 — 2020-01-10

## README

@northtech/openlayers-tools
===========================
A toolbox for working with OpenLayers, in particular with RxJs-based event handling.

Generally speaking, this library contains two different types of utilities:

* Stateless functions, ranging from mnemonics to boilerplate (parsing Capabilities into actual layers) to animation
  support.
* Classes which work directly on/with an OpenLayers Map or View. These classes can be instantiated without a Map, but
  will only start functioning once their `.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).


Usage
-----
Install with

    npm install @northtech/openlayers-tools@^1

Install peer dependencies if needed:

    npm install ol@^6.10 proj4@^2.7 @types/proj4@^2.5 rxjs@^7

TypeDocs at https://doc.northtech.dk/openlayers-tools/

---
_Source: https://npm.io/package/@northtech/openlayers-tools · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
