https://github.com/piebro/js-map-generator
An online tool to generate a custom map with custom rules with an osm dataset in a static website.
https://github.com/piebro/js-map-generator
Last synced: 8 months ago
JSON representation
An online tool to generate a custom map with custom rules with an osm dataset in a static website.
- Host: GitHub
- URL: https://github.com/piebro/js-map-generator
- Owner: piebro
- Created: 2019-11-11T17:25:04.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-12-16T11:56:08.000Z (over 6 years ago)
- Last Synced: 2025-03-11T16:21:49.459Z (over 1 year ago)
- Language: JavaScript
- Homepage: https://piebro.github.io/js-map-generator/
- Size: 7.71 MB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# js-map-generator
An online tool to generate a custom map with custom rules with an osm dataset in a static website.
## todo
### style
- add favicon
- write a "how to use" in readme and add images
- add good and nice looking example (with links?)
- some images for dataIsBeatiful?
### bug
- save as pdf with zoom != 1 doesnt work
### feature
- rework my translation of the coordinates. have a better overview with them. make it easier to understand and maintain.
- only draw when something substanial changed?
only update the nodes and ways which chnaged?
delete the stuff that changed, and redraw that stuff again
canvas change only change viewport?
- only draw if it not drawn right now? and then draw? a draw button if there are to many ways and nodes
- a "drawing right now" loading screen
- del grid postion setting
- ? line with and map zoom. should the affect each other?
- ? save the link somehow extra to the map
- allgemein beim speichern check ob die linie oder node gezeichnet werden müssen und nur wenn sie sichtbar sind zeichnen
- ? dynamically load the save librarys only when they are needed
- new ui. with better popup windows. some framework needed with the possibilty for pwa
### testing
- bigger maps and draw only some stuff on a bigger area, too slow?
### other
[//]: # (links: https://geoffboeing.com/2017/03/urban-form-figure-ground/)
### example links
### usefull cmds
```bash
# svg to pdf
inkscape map.svg --export-pdf=map2.pdf
# pdf to pdf with a3 format
pdfjam --papersize '{29.7cm,42.0cm}' -o map2-a3.pdf map2.pdf
```