Demo Code for PyCon APAC 2015
URL for the slides: https://goo.gl/YNPe0T
For the demo code:
- Static Map Applications
-
GoogleStaticMapsDemo
- start the development web server (python -m CGIHTTPServer) under GoogleStaticMapsDemo folder
- connect to http://localhost:8000/cgi-bin/GoogleStaticMapDemo.py
-
WebStaticMapDemo
- start the development web server (python -m CGIHTTPServer) under WebStaticMapDemo folder
- connect to http://localhost:8000/cgi-bin/OSMStaticMap.py?lat=24.3&lon=121.4&zoom=14&width=640&height=480
-
DIYStaticMapDemo
- run "python StaticMap.py" under DIYStaticMapDemo folder
- Interactive Map Applications
-
FoliumDemo
- start the development web server (python -m CGIHTTPServer) under WebStaticMapDemo folder
- connect to http://localhost:8000/cgi-bin/foliumdemo.py
-
FlaskGoogleMapsDemo
- run "python flaskdemo.py" under FlaskGoogleMapsDemo folder
- Real Time Applications
-
RealTime_Javascript_SSE_Demo
- start the development web server (python -m CGIHTTPServer) under RealTime_Javascript_SSE_Demo folder
- connect to http://localhost:8000/realtimetracking.html
-
RealTime_SSE_Demo
- start the development web server (python -m CGIHTTPServer) under RealTime_SSE_Demo folder
- connect to http://localhost:8000/cgi-bin/rtdemo.py
-
RealTimeGoogleEarthDemo
- start the development web server (python -m CGIHTTPServer) under RealTimeGoogleEarthDemo folder
- open "realtimedemo.kml" by using Google Earth.