• Stars
    star
    283
  • Rank 145,206 (Top 3 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 9 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

High-resolution maps in the browser, for printing

Print Maps

Web maps normally don't print well, as their resolution is much lower than normal print resolution, not to mention the various other unwanted text and elements that print along with the map. Print Maps changes that by leveraging Mapbox GL JS to render print resolution maps in the browser.

Future updates

Due to Mapbox's new anti-FOSS stance, Mapbox GL JS will not be updated past v1.13. Please reach out to Mapbox to express your displeasure with this stance. Maintenance on this repository will continue as long as fixes can be made without updating Mapbox GL JS.

Options

  • Inches or millimeters
  • PNG or PDF output (PDF is Letter size for inches, A4 for millimeters)
  • Choice of map styles
  • Height and width settings
  • DPI setting

Building

Add your Mapbox access token to js/script.js, run a local webserver such as python3 -m http.server, and open index.html.

Attribution

Attribution of maps is required. See tile provider terms for details.

License

Print Maps is distributed under the MIT License. For more information, read the file COPYING or peruse the license online.

Credits

More Repositories

1

pannellum

Pannellum is a lightweight, free, and open source panorama viewer for the web.
JavaScript
4,183
star
2

kindle-weather-display

https://mpetroff.net/2012/09/kindle-weather-display/
Python
281
star
3

stitch-scanned-images

Stitches scanned image segments
Python
61
star
4

accessible-color-cycles

Jupyter Notebook
33
star
5

nightsky

An HTML5 night sky viewer
JavaScript
28
star
6

beamer-theme-matrix

Shows variations of the Beamer LaTeX package's themes and color themes
Python
25
star
7

color-cycle-picker

Color cycle picker with CVD simulation
JavaScript
22
star
8

pi-tag-detector

Pi-Tag Fiducial Marker Detector
C++
19
star
9

webhdr

Bandwidth-efficient HDR WebGL Textures
HTML
7
star
10

qgsazimuth

Fork of http://sourceforge.net/projects/qgsazimuth/
Python
7
star
11

django-mediawiki-authentication

Fork of https://bitbucket.org/pythonian4000/django-mediawiki-authentication-by-user-id that doesn't depend on sessionprofile
PHP
6
star
12

light-painting-wand

Light painting wand hardware / software
KiCad Layout
5
star
13

collapsed-archives-wp

WordPress widget to display archive links using purely CSS-based collapsing
PHP
4
star
14

slenderbox

Slenderbox is a lightweight and framework-free lightbox script.
JavaScript
3
star
15

color-sets

For updates, see: https://github.com/mpetroff/accessible-color-cycles
Python
3
star
16

pol-mm-wave-atm-model

Jupyter Notebook
2
star
17

filesdb-spec

An efficient method of serving many small files
Go
2
star
18

color-cycle-survey

For updates, see: https://github.com/mpetroff/accessible-color-cycles
HTML
2
star
19

nugacious

Quantity comparisons
Python
1
star
20

slenderbox-wp

Slenderbox Plugin for WordPress
PHP
1
star
21

pannellum.org

HTML
1
star