Basic leaflet map for GTA V with additional drawing tools.
This repository only provides a minimum data set and will require additional configuration.
Try it out here.
- Fork and clone this repository
cdinto the cloned repository's folder- Run
npm installto retrieve/install all dependencies - Configure map tiles by copying
map.config.example.jstomap.config.js - Run
npm run devto launch the development server - Navigate to
http://localhost:8080in your preferred browser
This repository only provides a basic tile set of the Atlas map. To add additional zoom levels/layers:
- Find a high resolution map image (8k+) and tile it, or download a tiled map
- Add tiles to
/static/maps/<layer> - Add config to
map.config.js
All tiles on the demo site have been generated using this Docker command:
docker run --rm -v ${pwd}:/data ghcr.io/osgeo/gdal:ubuntu-small-latest gdal2tiles.py -p raster -z <minZoom>-<maxZoom> --processes=<cpu-cores> --tiledriver=WEBP --xyz -w none /data/<path-to-image> /data/static/maps/<layer>Any contributions made are welcome and greatly appreciated.
- Fork the project
- Create your feature branch (
git checkout -b feature) - Code it
- Commit your changes (
git commit -m 'Add something awesome') - Push to the branch (
git push origin feature) - Open a Pull Request
- RiceaRaul for example maps and source code
- NelsonMinar for reference source code
This project is licensed under the GNU GPL License. See the LICENSE file for details.