mbgl-export
This is a Mapbox GL JS plugin that allows you to download the map as `.png` file.
Last updated 2 years ago by miya0001 .
MIT · Original npm · Tarball · package.json
$ cnpm install mbgl-export 
SYNC missed versions from official npm registry.

Mapbox GL Image Export

This is a Mapbox GL JS plugin that allows you to download the map as .png file.

How to install

<script type="src='path/to/dist/app.js'"></script>

<script>
    var map = new mapboxgl.Map({...});

    // Add the control to download
    map.addControl(new mapboxgl.Export());
</script>

LICENCE

MIT

Current Tags

  • 0.2.1                                ...           latest (2 years ago)

3 Versions

  • 0.2.1                                ...           2 years ago
  • 0.1.1                                ...           2 years ago
  • 0.1.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (2)
Dev Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |