# olcs-mod

> OL-Cesium as ES2016 modules, transplied project added, to use import OLCesium from 'olcs-mod/dist/OLCesium';

Latest version **0.11.0** (published 2018-12-12) · BSD-2-Clause license · 0 weekly downloads

## Install

```sh
npm install olcs-mod
pnpm add olcs-mod
yarn add olcs-mod
bun add olcs-mod
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.11.0 |
| Published | 2018-12-12 |
| First published | 2018-04-18 |
| Weekly downloads | 0 |
| License | BSD-2-Clause |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 313.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | sooreck |

## Links

- npm: https://www.npmjs.com/package/olcs-mod
- npm.io page: https://npm.io/package/olcs-mod

## Dependencies (1)

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

## Recent versions

- 0.11.0 (latest) — 2018-12-12
- 0.0.1-0.1 — 2018-12-12
- 0.0.10 — 2018-04-18

## README

# olcs

OL-Cesium as ES2016 modules.

## Usage

Add the `olcs-mod` (and `ol`) package as a dependency to your project.

    npm install olcs-mod --save

Import just what you need for your application:

```js
import Map from 'ol/map';
import View from 'ol/view';
import TileLayer from 'ol/layer/tile';
import XYZ from 'ol/source/xyz';

import OLCesium from 'olcs-mod/OLCesium';

const map = new Map({
  target: 'map',
  layers: [
    new TileLayer({
      source: new XYZ({
        url: 'https://{a-c}.tile.openstreetmap.org/{z}/{x}/{y}.png'
      })
    })
  ],
  view: new View({
    center: [0, 0],
    zoom: 2
  })
});

new OLCesium({map});

```

Create an alias to the `goog` directory. With webpack:

```
resolve: {
  alias: {
    'goog': path_to_goog,
  }
}
```

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