Default styles & tiles for mapeo backgrounds
Static resources for Mapeo Mobile & Desktop.
var styles = require('mapeo-styles')
presets/ directories to the file path
root, and calls
cb upon completion or error.
The same as
styles.unpack, except a
version file will also be written to track what version of the style/preset data was unpacked. This lets the unpacking step be nearly zero-cost when the version of the data has not been changed.
The directory name where presets are stored.
- 2018-06-22: For mobile platforms, this module is probably only useful for automatic loading of test data or very small data sets. With enough tile data (100s of megabytes) it may not fit into a reasonably sized app image.