{"id":13565722,"url":"https://github.com/mpetroff/print-maps","last_synced_at":"2025-07-05T06:07:48.304Z","repository":{"id":27016542,"uuid":"30480856","full_name":"mpetroff/print-maps","owner":"mpetroff","description":"High-resolution maps in the browser, for printing","archived":false,"fork":false,"pushed_at":"2023-08-21T15:41:27.000Z","size":53,"stargazers_count":291,"open_issues_count":3,"forks_count":52,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-05-19T15:08:27.612Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://printmaps.mpetroff.net/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mpetroff.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2015-02-08T04:36:36.000Z","updated_at":"2025-05-02T13:37:02.000Z","dependencies_parsed_at":"2024-01-19T06:52:42.347Z","dependency_job_id":"ef8cd690-5125-496b-9cea-ef20e0f914c6","html_url":"https://github.com/mpetroff/print-maps","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mpetroff/print-maps","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpetroff%2Fprint-maps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpetroff%2Fprint-maps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpetroff%2Fprint-maps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpetroff%2Fprint-maps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mpetroff","download_url":"https://codeload.github.com/mpetroff/print-maps/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpetroff%2Fprint-maps/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263692913,"owners_count":23496944,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T13:01:53.965Z","updated_at":"2025-07-05T06:07:48.288Z","avatar_url":"https://github.com/mpetroff.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Print Maps\n\nWeb maps normally don't print well, as their resolution is much lower than\nnormal print resolution, not to mention the various other unwanted text and\nelements that print along with the map. Print Maps changes that by leveraging\n[Mapbox GL JS](https://github.com/mapbox/mapbox-gl-js) to render print\nresolution maps in the browser.\n\n## Future updates\n\nDue to Mapbox's new [anti-FOSS stance](https://github.com/mapbox/mapbox-gl-js/releases/tag/v2.0.0),\nMapbox GL JS will not be updated past v1.13. Please reach out to Mapbox to\nexpress your displeasure with this stance. Maintenance on this repository will\ncontinue as long as fixes can be made without updating Mapbox GL JS.\n\n## Options\n\n* Inches or millimeters\n* PNG or PDF output (PDF is Letter size for inches, A4 for millimeters)\n* Choice of map styles\n* Height and width settings\n* DPI setting\n\n## Building\n\nAdd your Mapbox access token to `js/script.js`, run a local webserver such as\n`python3 -m http.server`, and open `index.html`.\n\n## Attribution\n\nAttribution of maps is required. See tile provider terms for details.\n\n## License\n\nPrint Maps is distributed under the MIT License. For more information, read the\nfile `COPYING` or peruse the license\n[online](https://github.com/mpetroff/print-maps/blob/master/COPYING).\n\n## Credits\n\n* [Matthew Petroff](http://mpetroff.net/), Original Author\n* [Mapbox GL JS](https://github.com/mapbox/mapbox-gl-js)\n* [FileSaver.js](https://github.com/eligrey/FileSaver.js/)\n* [canvas-toBlob.js](https://github.com/eligrey/canvas-toBlob.js)\n* [jsPDF](https://github.com/MrRio/jsPDF)\n* [Bootstrap](http://getbootstrap.com/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmpetroff%2Fprint-maps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmpetroff%2Fprint-maps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmpetroff%2Fprint-maps/lists"}