static-map-preview

0.1.1 • Public • Published

static-map-preview

example

var preview = require('static-map-preview')(d3)('mapbox.map-id');
 
                        // GeoJSON      w,   h
preview(geoJsonObject, [200, 200], function(err, res) {
    // err is an error, if any
    // res is image data as a data url
});

Readme

Keywords

none

Package Sidebar

Install

npm i static-map-preview

Weekly Downloads

0

Version

0.1.1

License

BSD

Last publish

Collaborators

  • mapbox-admin