https://github.com/publicmap/publicmap.github.io
An interactive map powered by crowdsourced data.
https://github.com/publicmap/publicmap.github.io
Last synced: 4 months ago
JSON representation
An interactive map powered by crowdsourced data.
- Host: GitHub
- URL: https://github.com/publicmap/publicmap.github.io
- Owner: publicmap
- Created: 2020-12-08T05:08:58.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2023-01-06T17:38:17.000Z (over 3 years ago)
- Last Synced: 2024-04-14T13:07:02.013Z (about 2 years ago)
- Language: Svelte
- Homepage: https://publicmap.github.io/
- Size: 2.66 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 25
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# public map
A public map for the world.
## URL options
**Page**
- `title` Title for the map
- `description` Description or caption for the map
**Mapbox API**
- `style` A mapbox style url. eg. `mapbox://styles/mapbox/satellite-streets-v11`
- `attribution` Text for map attribution
- `access_token` A mapbox access token to use for accessing the map style
- `worldview` A worldview to use for representation of disputed boundaries `US`=de facto), `CN`=China `IN`=India `JP`=Japan
## Development
This is a [Sapper](https://github.com/sveltejs/sapper) project based on [sapper-template#webpack](sveltejs/sapper-template#webpack).
**Installation**
```
git clone https://github.com/publicmap/atlas.git
cd atlas
npm install
```
**Develop**
The page sources can be found in `src/routes`
```
npm run dev
```
Open `http://localhost:3000/atlas` in the browser
### Deployment
The `main` branch is automatically built to `gh-pages` branch and deployed to https://publicmap.github.io/ using .github/actions