{"id":23708105,"url":"https://github.com/datawan-labs/maps","last_synced_at":"2025-10-16T15:01:43.674Z","repository":{"id":262120461,"uuid":"812430082","full_name":"datawan-labs/maps","owner":"datawan-labs","description":"Collection of full planet vector basemap styles designed for use with Maplibre-GL and Mapbox-GL","archived":false,"fork":false,"pushed_at":"2024-12-30T03:23:16.000Z","size":10103,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-30T04:19:38.033Z","etag":null,"topics":["basemaps","gis","mapbox","maplibre","mapstyle","openstreetmap","protomaps","react-map-gl"],"latest_commit_sha":null,"homepage":"https://maps.datawan.id","language":"TypeScript","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/datawan-labs.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-08T21:45:08.000Z","updated_at":"2024-12-30T03:23:20.000Z","dependencies_parsed_at":"2024-11-10T17:42:53.725Z","dependency_job_id":null,"html_url":"https://github.com/datawan-labs/maps","commit_stats":null,"previous_names":["datawan-labs/maps"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datawan-labs%2Fmaps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datawan-labs%2Fmaps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datawan-labs%2Fmaps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datawan-labs%2Fmaps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datawan-labs","download_url":"https://codeload.github.com/datawan-labs/maps/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231895828,"owners_count":18442361,"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":["basemaps","gis","mapbox","maplibre","mapstyle","openstreetmap","protomaps","react-map-gl"],"created_at":"2024-12-30T17:48:47.577Z","updated_at":"2025-10-16T15:01:43.537Z","avatar_url":"https://github.com/datawan-labs.png","language":"TypeScript","readme":"# Datawan Maps\n\n![Datawan Maps](./public/og.png)\n\nThis project provides a collection of full planet vector basemap styles designed for use with [Maplibre-GL](https://maplibre.org/) and [Mapbox-GL](https://docs.mapbox.com/mapbox-gl-js/guides/). All styles are based on OpenStreetMap data with [Tilezen](https://tilezen.readthedocs.io/en/latest/layers/) vector tiles and are deployed with [PMTiles](https://github.com/protomaps/PMTiles). These styles are **free to use for non-commercial projects**.\n\n## Deployment \u0026 Stack\n\nTo deploy styles, you first need to set up your PMTiles. Follow the [official documentation](https://docs.protomaps.com/guide/getting-started) to get start. In this project, PMTiles data is stored in S3-compatible storage, such as AWS S3, DigitalOcean Spaces, Cloudflare R2, or similar services. Static assets, such as glyphs, styles, and sprites, also for landing page, are deployed using a Cloudflare Worker with [static assets](https://developers.cloudflare.com/workers/static-assets/routing/), alongside the main worker, which transforms XYZ URLs to tile requests by accessing PMTiles data from S3 storage. This setup allows us to cache non-tile URLs as static assets, and optimize XYZ URL requests to minimize sub-requests to S3.\n\n![alt text](./docs/stack.png)\n\nTo deploy, you need to set the following environment variables in cloudflare config:\n\n| Variable            | Type   | Description                                 |\n| ------------------- | ------ | ------------------------------------------- |\n| `BUCKET`            | string | Name of your S3 Buckets                     |\n| `ACCESS_KEY_ID`     | string | Access key ID for your storage provider     |\n| `SECRET_ACCESS_KEY` | string | Secret access key for your storage provider |\n\n\u003e If you want to self host your styles, make sure you change all source url in [all styles](./maps/styles/) to your urls.\n\n## Styles\n\nWe provide 11 styles, and all styles based on [protomaps basemaps](https://github.com/protomaps/basemaps), including glyphs and sprites.\n\n- Light\n- Dark\n- Black\n- White\n- Grayscale\n- Light No Label\n- Dark No Label\n- Black No Label\n- White No Label\n- Grayscale No Label\n- Light 3D\n- _(soon...)_\n\n|                                        |                                        |                                                |\n| -------------------------------------- | -------------------------------------- | ---------------------------------------------- |\n| ![Light Style](./src/assets/light.png) | ![White Style](./src/assets/white.png) | ![Grayscale Style](./src/assets/grayscale.png) |\n| ![Dark Style](./src/assets/dark.png)   | ![Light 3D](./src/assets/light-3d.png) | ![Black Style](./src/assets/black.png)         |\n\n## Attribution\n\nYou must add attribution if you use any of these styles. At least, include OpenStreetMap contributors, or full attribution\n\n```html\n\u003ca href=\"https://datawan.id\"\u003eDatawan\u003c/a\u003e | \u003ca href=\"https://github.com/protomaps/basemaps\"\u003eProtomaps\u003c/a\u003e © \u003ca href=\"https://openstreetmap.org\"\u003eOpenStreetMap\u003c/a\u003e\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatawan-labs%2Fmaps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatawan-labs%2Fmaps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatawan-labs%2Fmaps/lists"}