0.1.2 • Published 5 years ago

imhof v0.1.2

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

imhof

Render map tiles to pdf in the browser with arbitrary resolution.

Demo

Usage

https://imhofjs.github.io/[?options]

For example

https://imhofjs.github.io/?lat=46.951083&lon=7.438639&zoom=15

The following options are available:

OptionValue (default)
latLatitude, -90 to 90
lonLongitude, -180 to 180
zoom0 to maxZoom (depends on tiles)
geojsonURL pointing to a GeoJSON file
rendererleaflet, static, static-jpeg
tilesOSM, basemap.at
dpiMap resolution in dots per inch (150)
paddingPadding in mm (10)
qualityImage quality for static-jpeg renderer (0.92)

Name

This project is named after the Swiss cartographer Eduard Imhof.

License

This project is licensed under the MIT license, see the LICENSE file.

See Also