Skip to content
/ imhof Public

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

License

Notifications You must be signed in to change notification settings

imhofjs/imhof

Repository files navigation

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:

Option Value (default)
lat Latitude, -90 to 90
lon Longitude, -180 to 180
zoom 0 to maxZoom (depends on tiles)
geojson URL pointing to a GeoJSON file
renderer [leaflet, static, static-jpeg] (leaflet)
tiles [OSM, basemap.at] (OSM)
dpi Map resolution in dots per inch (150)
padding Padding in mm (10)
quality Image 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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published