https://github.com/dvrpc/map-templates
Templates to bootstrap custom webmaps
https://github.com/dvrpc/map-templates
Last synced: 5 months ago
JSON representation
Templates to bootstrap custom webmaps
- Host: GitHub
- URL: https://github.com/dvrpc/map-templates
- Owner: dvrpc
- Created: 2022-01-03T18:46:14.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-07-31T20:18:52.000Z (almost 3 years ago)
- Last Synced: 2023-07-31T21:41:26.655Z (almost 3 years ago)
- Language: JavaScript
- Size: 8.77 MB
- Stars: 0
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Webmap Templates
Use the templates in this repo to bootstrap custom webmapping projects using Mapboxgl JS, DVRPC's municipal boundaries tileset, and Webpack.
[View overlay-template example](https://dvrpc.github.io/map-templates/)
## Includes
- Two templates to bootstrap custom Mapboxgl JS webmaps centered on the DVRPC region
- `/sidebar-template/` for maps that need data tables, charts or other context
- `/overlay-template/` for simpler point-and-click maps
- Mapbox geocoder to zoom to address
- DVRPC regional extent control
- About modal to provide information about the project
- Defaults to being closed, can be toggled to open by default
- Responsive design
- Google Analytics tracking script
- Webpack config to bundle dev and production code
- Production bundle outputs to `/build/` folder
- Config functiosn for basic popup creation and form input handling