Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

imhof

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

imhof

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

  • 0.1.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

imhof

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

Demo

  • Simple demo in the browser
  • HiDPI demo using basemap.at HiDPI tiles
  • PDF download demo using Headless Chrome on Heroku

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
renderer[leaflet, static, static-jpeg] (leaflet)
tiles[OSM, basemap.at] (OSM)
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

Keywords

FAQs

Package last updated on 07 Dec 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc