# planet-maps-raster

> Custom builds of OpenLayers 3

Latest version **0.4.0** (published 2015-05-13) · 0 weekly downloads

## Install

```sh
npm install planet-maps-raster
pnpm add planet-maps-raster
yarn add planet-maps-raster
bun add planet-maps-raster
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; low quality score; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.4.0 |
| Published | 2015-05-13 |
| First published | 2015-05-06 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 54 |
| Maintainers | aisaacs, tschaub |
| Keywords | openlayers, ol3 |

## Links

- npm: https://www.npmjs.com/package/planet-maps-raster
- Repository: https://github.com/planetlabs/maps
- Issues: https://github.com/planetlabs/maps/issues
- npm.io page: https://npm.io/package/planet-maps-raster

## Recent versions

- 0.4.0 (latest) — 2015-05-13
- 0.3.0 — 2015-05-07
- 0.1.1 — 2015-05-07
- 0.1.0 — 2015-05-06

## README

# Planet Maps

Custom builds of OpenLayers 3.

## Use

Install `planet-maps` as a dependency with [`npm`](http://nodejs.org/).

    npm install planet-maps --save-dev

Use [Browserify](http://browserify.org/) to `require` OpenLayers 3.

    /* See below for a list of custom builds */
    var ol = require('planet-maps/dist/ol-base');

You'll also want to import the stylesheet:

    /* Make sure to use the path to your node_modules */
    @import url('./node_modules/planet-maps/dist/ol.css');

## Builds

### `ol-base`

Support for vector and raster souces.  See `config/ol-base.json` for details on what is included.

### `ol-raster`

Support for experimental raster stuff.  See `config/ol-raster.json` for details on what is included.

## Publishing a new release

Edit the `config` files to include what you need exported and commit the changes.  Next, generate builds for each config file with `make`.  This will create builds in the `dist` directory that are *not* tracked by `git` but that are pushed to the npmjs.org repository for use by consuming packages.

    make

Then you'll want to bump the version number in `package.json`, commit this change, and create a tag.  This can be done with the `npm version` command (choose one of `patch`, `minor`, or `major`).  E.g.

    npm version minor

Next you'll want to push your commits (and the tag) and publish your changes to npmjs.org.

    git push --tags origin master
    npm publish

Note the new version number in `package.json` and use it in packages that depend on this one.

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