tileimg
v0.0.4
Published
Converts your image to map tiles!
Downloads
3
Maintainers
Readme
tileimg
Converts your image to map tiles which can be viewed using libraries like LeafletJS and OpenLayers.
It's built upon ImageMagick:
On Ubuntu
$ apt-get install imagemagick
On Mac OS X
$ brew install imagemagick
On CentOS
$ yum install imagemagick
Install
npm install -g tileimg
Arguments
| Arguments | Type | Default | Description |
|-------------|--------|-----------|--------------|
| minZoom
| Number | 0
| Minmum Zoom |
| maxZoom
| Number | 0
| Maximum Zoom |
| zoom
| Number | N/A | Use this argument to convert your image to one zoom level |
Usage
$ tileimg image.png --minZoom 0 --maxZoom 5
$ tileimg image.png --zoom 2