Skip to content

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image to map tiles converter

This is a tool to converts an image into a leaflet or googlemaps compatible map tiles. Inspired by (https://github.com/bramus/photoshop-google-maps-tile-cutter)

Parameters

--sourcePath # The path to the image you like to convert

--targetPath # The path where the map tiles should be saved

--tileSize # The size of the map tiles

--aspectRatioBarsColor # The color of the aspect ratio bars. The color have to be set as hex value like #000000. For transparency add an additionally 00 (Fully transparent #00000000) or FF (Fully visible #000000FF)

Example

./pMapTilesCutter --sourcePath ./map.png --targetPath ./mymaptiles/ --tileSize 256 --aspectRatioBarsColor #000000FF

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages