Skip to content

Latest commit

 

History

History
48 lines (30 loc) · 1.06 KB

README.md

File metadata and controls

48 lines (30 loc) · 1.06 KB

Random Map Shape Generator

A web app that randomly generates shapes (points, lines, polygons) on a map using Leaflet.js. Features layer switching, search, and shape downloads in ZIP format.

You can use the tool on https://konishon.github.io/random-map-shape-generator/

share-preview

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:
    git clone https://github.com/konishon/random-map-shape-generator.git
  2. Open index.html in a browser (no server needed).

Project Structure

.
├── 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