{"id":15202961,"url":"https://github.com/geocodio/lightning-maps","last_synced_at":"2025-10-02T18:32:07.105Z","repository":{"id":33287576,"uuid":"150363089","full_name":"Geocodio/lightning-maps","owner":"Geocodio","description":"A fast, lightweight slippy map renderer with very minimal dependencies","archived":true,"fork":false,"pushed_at":"2023-07-11T21:27:31.000Z","size":7147,"stargazers_count":8,"open_issues_count":36,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-12-30T05:31:39.924Z","etag":null,"topics":["mapping","maps","openstreetmap","osm","slippy-map"],"latest_commit_sha":null,"homepage":"https://geocodio.github.io/lightning-maps/","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/Geocodio.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-09-26T03:24:13.000Z","updated_at":"2024-03-14T10:25:02.000Z","dependencies_parsed_at":"2023-01-15T00:30:47.698Z","dependency_job_id":null,"html_url":"https://github.com/Geocodio/lightning-maps","commit_stats":null,"previous_names":[],"tags_count":35,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Geocodio%2Flightning-maps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Geocodio%2Flightning-maps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Geocodio%2Flightning-maps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Geocodio%2Flightning-maps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Geocodio","download_url":"https://codeload.github.com/Geocodio/lightning-maps/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235038194,"owners_count":18926232,"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":["mapping","maps","openstreetmap","osm","slippy-map"],"created_at":"2024-09-28T04:07:45.347Z","updated_at":"2025-10-02T18:32:01.771Z","avatar_url":"https://github.com/Geocodio.png","language":"JavaScript","readme":"# Lightning Maps (*Alpha release*)\n\nA fast, lightweight slippy map renderer with very minimal dependencies.\n\nHeavily inspired by [Pigeon Maps](https://github.com/mariusandra/pigeon-maps) and [Leaflet](https://leafletjs.com), but with slightly different goals in mind:\n\n## Goals\n\n* Modern, built using ES6+ syntax\n* Lightweight, minimal dependencies\n* Ability to render thousands of markers, by using `\u003ccanvas\u003e` rendering instead of depending on the DOM\n* Supports rendering of complex polygons\n* Wrapper for React (VueJS coming soon)\n\n## Using\n\n### 1. Install\n\n```\nyarn add lightning-maps\n```\n\nOr link directly to our build via the [unpkg](https://unpkg.com) CDN:\n\n```html\n\u003cscript src=\"https://unpkg.com/lightning-maps/lib/LightningMaps.min.js\"\u003e\u003c/script\u003e\n```\n\n### 2. Create a `\u003ccanvas\u003e` element\n\n```html\n\u003ccanvas id=\"map\" width=\"800\" height=\"600\"\u003e\u003c/canvas\u003e\n```\n\n### 3. Instantiate the map and add a marker\n\n```javascript\nvar map = new LightningMaps.Map(canvas, {\n  source: function (x, y, z) {\n    return `https://maps.geocod.io/tiles/base/${z}/${x}/${y}.png`;\n  },\n  zoom: 12,\n  center: [38.86530697026126, -77.20057854052735]\n});\n\nmap.addMarker(new LightningMaps.Marker([38.882666, -77.170150]))\n```\n\n### 4. Success! You now have a map\n\n![Example](docs/screenshots/markers.png)\n\n## Development\n\n### Run local development build and tests\n\n```bash\nyarn run dev\nyarn run test:watch\n```\n\n### Development urls:\n* [http://localhost:9000/simple.html](http://localhost:9000/simple.html)\n* [http://localhost:9000/markers.html](http://localhost:9000/markers.html)\n* [http://localhost:9000/polygons.html](http://localhost:9000/polygons.html)\n* [http://localhost:9000/events.html](http://localhost:9000/events.html)\n* [http://localhost:9000/performance.html](http://localhost:9000/performance.html)\n\n### Build library for distribution\n\n```bash\nyarn run build\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeocodio%2Flightning-maps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeocodio%2Flightning-maps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeocodio%2Flightning-maps/lists"}