Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 888 Bytes

README.md

File metadata and controls

16 lines (12 loc) · 888 Bytes

Tehran Metro Map

Tehran Metro Map using d3-tube-map based on official map

Demo

visit https://mer30hamid.github.io/Tehran-Metro-Map/ for demo

Run local

Even if the application only uses client side javascript, you still need to run a small web server to prevent CORS errors, because of loading json files from the local filesystem. A simple option would be Python's SimpleHTTPServer (or http.server, depending on the version of Python installed.). More about it here

> cd Tehran-Metro-Map
> python -m http.server
Serving HTTP on 0.0.0.0 port 8000 (http://0.0.0.0:8000/) ...

image