This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Playing with tornado.websocket, to add markers to a Google Map using WebSockets | |
$ pip install tornado | |
$ python livemap.py --port=8888 | |
Open http://localhost:8888 in one window | |
Each time http://localhost:8888/ping is opened in a second window, a | |
new marker is added to the map (at a random location) |