https://github.com/konishon/random-map-shape-generator
A web app that randomly generates shapes (points, lines, polygons) on a map using
https://github.com/konishon/random-map-shape-generator
Last synced: 3 months ago
JSON representation
A web app that randomly generates shapes (points, lines, polygons) on a map using
- Host: GitHub
- URL: https://github.com/konishon/random-map-shape-generator
- Owner: konishon
- Created: 2024-10-24T04:16:40.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2024-12-16T03:46:50.000Z (6 months ago)
- Last Synced: 2025-01-15T10:38:21.199Z (5 months ago)
- Language: JavaScript
- Size: 888 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Random Map Shape Generator
A web app that randomly generates shapes (points, lines, polygons) on a map using [Leaflet.js](https://leafletjs.com/). Features layer switching, search, and shape downloads in ZIP format.
> You can use the tool on https://konishon.github.io/random-map-shape-generator/

## Features
- Random shape generation: points, lines, polygons
- Layer switcher (Street, Light, Dark)
- Search locations with Leaflet Geocoder
- Download shapes as ZIP
- Clear all shapes
- Right-click map context menu## Installation
1. Clone the repo:
```bash
git clone https://github.com/konishon/random-map-shape-generator.git
```
2. Open `index.html` in a browser (no server needed).## Project Structure
```bash
.
├── index.html # Main HTML file
├── css/styles.css # Custom styles
├── js/script.js # Main JS logic
```## Dependencies
- Leaflet.js
- Leaflet Control Geocoder
- JSZip, FileSaver.js## License
MIT License