mobile-map-builder

0.6.2 • Public • Published

Build Status Coverage Status

Mobile Map Builder

An application that helps you build maps & data for mobile applications.

Install

$ npm install -g mobile-map-builder

Quickstart

The core application is a Command Line Interface (CLI) which can be executed in any environment.

Here's how to create your first MBTile map bundle.

$ mmb --bbox '[-76.34, 44.96, -75.24, 45.53]' --min 10 --max 14 --provider bing --service imagery ottawa.mbtiles
 
  downloading [====================] 100% (2655/2655)
  All done!

Help

For more information on the optional parameters enter --help at the end.

$ mmb --help
 
  Usage: cli [options] <filename>
 
  Creates MBTiles from Web Map Tile Service
 
  Options:
 
    -h, --help                         output usage information
    -V, --version                      output the version number
    --bbox [Array<number>]             BBox extent in [minX, minY, maxX, maxY] order
    --min, --min-zoom <number>         Minimum Zoom Level
    --max, --max-zoom <number>         Maximum Zoom Level
    -p, --provider [string="imagery"]  Provider name of tile server
    --scheme [string]                  [Optional] Scheme given to MBTiles DB
    --attribution [string]             [Optional] Attribution given to MBTiles DB
    --descr [string]                   [Optional] Description given to MBTiles DB
    --format [string]                  [Optional] Tile image format [png/jpg]
    --type [string]                    [Optional] Type of MBTiles layer [baselayer/overlay]
    -v, --verbose
 
Examples:
 
    $ mmb --provider imagery --bbox Ottawa --min 8 --max 17 ottawa.mbtiles

Dependents (0)

Package Sidebar

Install

npm i mobile-map-builder

Weekly Downloads

7

Version

0.6.2

License

none

Last publish

Collaborators

  • deniscarriere