hidden-mapbox

1.0.1 • Public • Published

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

Package Sidebar

Install

npm i hidden-mapbox

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

3.99 kB

Total Files

4

Last publish

Collaborators

  • gmaclennan
  • karissa