# ol-loupe

> Loupe control for openlayers

Latest version **1.0.1** (published 2018-03-13) · ISC license · 0 weekly downloads

## Install

```sh
npm install ol-loupe
pnpm add ol-loupe
yarn add ol-loupe
bun add ol-loupe
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2018-03-13 |
| First published | 2018-03-09 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 6.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | RobertW |
| Maintainers | robertw |

## Links

- npm: https://www.npmjs.com/package/ol-loupe
- Repository: https://github.com/riasol/ol-loupe
- Homepage: https://github.com/riasol/ol-loupe#readme
- Issues: https://github.com/riasol/ol-loupe/issues
- npm.io page: https://npm.io/package/ol-loupe

## Dependencies (1)

- [ol](https://npm.io/package/ol.md) ^4.6.4

## Recent versions

- 1.0.1 (latest) — 2018-03-13
- 1.0.0 — 2018-03-09

## README

# ol-loupe

Loupe control for openlayers

## Installation

    npm install ol ol-loupe

## Usage

```js
import Map from 'ol/map'
import View from 'ol/view'
import TileLayer from 'ol/layer/tile'
import OSMSource from 'ol/source/osm'
import 'ol/ol.css'

import Loupe from 'ol-loupe'
import 'ol-loupe/style.css' //Or your own

const tileLayer=new TileLayer({
    source: new OSMSource()
})
const map = new Map({
    layers: [tileLayer],
    view:new View({
        center:[0,0],
        zoom:2
    }),
    target:'map'
})
map.addControl(new Loupe())
```

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