{"id":15107455,"url":"https://github.com/fixelr-innovative/leaflet.printage","last_synced_at":"2026-01-04T22:03:57.985Z","repository":{"id":257462274,"uuid":"858368797","full_name":"Fixelr-Innovative/Leaflet.Printage","owner":"Fixelr-Innovative","description":"A leaflet plugin that allows users to Print Map with a scaled-up version of the visible map.","archived":false,"fork":false,"pushed_at":"2024-09-16T20:18:28.000Z","size":24,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-16T23:19:40.362Z","etag":null,"topics":["image","jquery","leaflet","leaflet-map","leaflet-plugin","library"],"latest_commit_sha":null,"homepage":"","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/Fixelr-Innovative.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-16T19:18:14.000Z","updated_at":"2025-07-29T20:02:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"6b504eca-8f01-4fc3-be50-c110d61a59ca","html_url":"https://github.com/Fixelr-Innovative/Leaflet.Printage","commit_stats":null,"previous_names":["fixelr-innovative/leaflet.printage"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/Fixelr-Innovative/Leaflet.Printage","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fixelr-Innovative%2FLeaflet.Printage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fixelr-Innovative%2FLeaflet.Printage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fixelr-Innovative%2FLeaflet.Printage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fixelr-Innovative%2FLeaflet.Printage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Fixelr-Innovative","download_url":"https://codeload.github.com/Fixelr-Innovative/Leaflet.Printage/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fixelr-Innovative%2FLeaflet.Printage/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28209145,"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","status":"online","status_checked_at":"2026-01-04T02:00:06.065Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["image","jquery","leaflet","leaflet-map","leaflet-plugin","library"],"created_at":"2024-09-25T21:24:44.624Z","updated_at":"2026-01-04T22:03:57.979Z","avatar_url":"https://github.com/Fixelr-Innovative.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Printage\n\n## General information\n\nA [leaflet](http://www.leafletjs.com) plugin that allows users to receive a map as an Image/Pdf and donwload it.\n* Opportunities:\n  - Compatible with Leaflet v1+.\n  - The ability to increase the area of the map without increasing.\n  - Simple layers will show on image.\n  - Tiles ssupport: OSM, MapBox, etc.\n  \n\n\n## Usage\n\n**Step 1.** Include the required js and css files in your document.\n\n```html\n  \u003clink rel=\"stylesheet\" href=\"dist/Leaflet.Printage.css\"\u003e\n  \u003cscript src=\"dist/Leaflet.Printage.js\"\u003e\u003c/script\u003e\n```\n\n**Step 2.** Add the following line of code to your map script\n\n``` js\n\tL.control.Printage().addTo(mymap);\n```\n\n**Step 3.**\nYou can pass a number of options to the plugin to control various settings.\n| Option              | Type         | Default      | Description   |\n| --------------------|--------------|--------------|---------------|\n| position            | String       | 'topright'   | Position the print button |\n| title               | String       | 'Get image'  | Sets the text which appears as the tooltip of the control button |\n| printControlLabel   | String       | '\u0026#128438;'  | Sets icon to the control button |\n| printControlClasses | Array        | []           | Sets classes to the control button |\n| maxScale            | Int          | 10           | Max image scale |\n| minScale            | Int          | 1            | Min image scale |\n| inputTitle          | String       | 'Choose scale:'  | Title before scale input |\n| downloadTitle       | String       | 'Download'  | Text on the download button |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffixelr-innovative%2Fleaflet.printage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffixelr-innovative%2Fleaflet.printage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffixelr-innovative%2Fleaflet.printage/lists"}