Skip to content

A web app that randomly generates shapes (points, lines, polygons) on a map using

Notifications You must be signed in to change notification settings

konishon/random-map-shape-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A web app that randomly generates shapes (points, lines, polygons) on a map using

Resources

Stars

Watchers

Forks

Packages

No packages published