diff --git a/.gitignore b/.gitignore index df84c8b..def4188 100644 --- a/.gitignore +++ b/.gitignore @@ -40,6 +40,7 @@ gps-sdr-sim-lut *.swp *~ +<<<<<<< HEAD # Byte-compiled / optimized / DLL files __pycache__/ *.py[cod] @@ -185,3 +186,8 @@ nbproject/* # Last used USER_MOTION_SIZE variable .user-motion-size +======= + +# Python bytecodes +*.pyc +>>>>>>> 33aa99cdff44ab8f8ced315ff0b7ea047ef92403 diff --git a/README.md b/README.md index 6a7a618..349314a 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,9 @@ python mapper.py Then visit http://127.0.0.1:8080/static/baidumap.html to use the Online map. -You can write an map which can POST data to http://127.0.0.1:8080/post like this +Or visit http://127.0.0.1:8080/static/googlemap.html to use the google Online map. + +You can also write an map which can POST data to http://127.0.0.1:8080/post like this ``` lon=116&lat=39&hgt=10 diff --git a/mapserver/static/googlemap.html b/mapserver/static/googlemap.html new file mode 100644 index 0000000..4f4d40d --- /dev/null +++ b/mapserver/static/googlemap.html @@ -0,0 +1,91 @@ + + + + + Choose Your Location + + + + + + + + + +
+
+ +
+

Cursor position:

+

Confirmed position:

+ + +