# static-map-preview **Repository Path**: mirrors_mapbox/static-map-preview ## Basic Information - **Project Name**: static-map-preview - **Description**: a simple static + canvas map preview - **Primary Language**: Unknown - **License**: BSD-2-Clause - **Default Branch**: gh-pages - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-09 - **Last Updated**: 2025-10-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## static-map-preview ### example ```js 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 }); ```