{"id":18739537,"url":"https://github.com/springmeyer/svg-tiles","last_synced_at":"2026-03-17T02:46:54.471Z","repository":{"id":9169726,"uuid":"10968560","full_name":"springmeyer/svg-tiles","owner":"springmeyer","description":"Experimenting with SVG tiles in Leaflet","archived":false,"fork":false,"pushed_at":"2013-06-28T18:51:00.000Z","size":6162,"stargazers_count":29,"open_issues_count":1,"forks_count":5,"subscribers_count":0,"default_branch":"gh-pages","last_synced_at":"2025-04-19T21:25:38.662Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"springmeyer.github.io/svg-tiles","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/springmeyer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-06-26T13:28:17.000Z","updated_at":"2023-04-16T12:15:59.000Z","dependencies_parsed_at":"2022-07-07T19:22:37.642Z","dependency_job_id":null,"html_url":"https://github.com/springmeyer/svg-tiles","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/springmeyer/svg-tiles","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/springmeyer%2Fsvg-tiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/springmeyer%2Fsvg-tiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/springmeyer%2Fsvg-tiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/springmeyer%2Fsvg-tiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/springmeyer","download_url":"https://codeload.github.com/springmeyer/svg-tiles/tar.gz/refs/heads/gh-pages","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/springmeyer%2Fsvg-tiles/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267362171,"owners_count":24075070,"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":"2025-07-27T02:00:11.917Z","response_time":82,"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":[],"created_at":"2024-11-07T15:36:12.479Z","updated_at":"2025-10-25T23:44:25.054Z","avatar_url":"https://github.com/springmeyer.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SVG Tiles in Leaflet\n\n# Quickstart\n\n    git clone git@github.com:springmeyer/svg-tiles.git\n    cd svg-tiles\n    npm install\n    ./server.js \u0026 open http://localhost:4000\n\nOr just view the live demo at http://springmeyer.github.io/svg-tiles.\n\n# Details\n\nThis demo shows the loading of a few pre-styled tiles in SVGZ format at z12 into\nLeaflet. This works in Chrome and Safari (at least) because the SVGZ tiles\ncan be treated like images and loaded into a `\u003cimg\u003e` element.\n\nSee the code comments in `index.html` for customizations to the demo like loading\ntiles into `\u003csvg\u003e` elements instead of `\u003cimg\u003e` by @jfirebaugh and using overzooming via @nrenner.\n\nSee the code comments in `server.js` for enabling code by @ZJONSSON to optimize and re-style the SVG before\nsending to the browser.\n\nTo view the underlying svg uncompressed you can do (with the server running - see below):\n\n    wget http://localhost:4000/tiles/12/1171/1566.svgz\n    mv 1566.svgz 1566.svg.gz\n    gzip -d 1566.svg.gz\n\nThen open `1566.svg` in your editor.\n\nThe tiles in the `tiles-cairo` folder are produced by Mapnik using Mapnik's Cairo backend.\n\nThe tiles in the `tiles-mapnik` folder are produced by Mapnik's experimental `svg_renderer`.\n\n# Depends\n\n- Node.js v0.8.x or v0.10.x\n\n# Setup\n\nAfter installing Node.js inside this directory run:\n\n    npm install\n\nWhich will install `express` and `expat`.\n\n# Using\n\nStart the server:\n\n    node server.js\n\nThen in a web browser go to `http://localhost:4000` and you\nshould be greeted with a few tiles of Washington DC at z12.\nZooming or panning will not work since this demo only provides\nthe tiles in the extent of the initial viewport.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspringmeyer%2Fsvg-tiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspringmeyer%2Fsvg-tiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspringmeyer%2Fsvg-tiles/lists"}