1.3.0 • Published 3 years ago

@wearesponge/slippy v1.3.0

Weekly downloads
12
License
ISC
Repository
-
Last release
3 years ago

Slippy

A command line slippy map tiles generator.

Installation

You can install the helper globally:

npm i -g @wearesponge/slippy

or install it as part of your project:

npm i --save @wearesponge/slippy

Usage

You can use slippy on the command line to generate your tiles by passing the source file and parameters:

ParameterLong ParameterDescription
-min--minZoomThe minimum zoom level
-max--maxZoomThe maximum zoom level
-t--tileSizeThe output tile size
-f--formatThe output image format
-q--qualityThe output image quality
-o--outDirThe output directory
-h--helpdisplay help for command

Example

If you have the source image ./source.png and you wish to generate tiles for zoom levels 0 through to 4 and output them into the ./tiles directory you can run the command:

slippy ./source.png -min 0 -max 4 -o ./tiles
1.3.0

3 years ago

1.2.0

3 years ago

1.1.0

3 years ago

1.0.0

4 years ago