1.0.1 • Published 5 years ago

hidden-mapbox v1.0.1

Weekly downloads
9
License
MIT
Repository
github
Last release
5 years ago

hidden-mapbox

A utility wrapper for mapbox-gl to do operations while hidden.

Install

npm install hidden-mapbox

Usage

const HiddenMapbox = require('hidden-mapbox')

const hmap = new HiddenMapbox({
  accessToken, style
})

const image = await hmap.getMapImage({
  width, height, center, zoom, pixelRatio
})

Contributing

PRs accepted.

Small note: If editing the README, please conform to the standard-readme specification.

License

MIT

1.0.1

5 years ago

1.0.0

5 years ago