Skip to content

Instantly share code, notes, and snippets.

View nenriquez's full-sized avatar

Nicolas Enriquez nenriquez

  • Kidloom
  • Buenos Aires
View GitHub Profile
@nenriquez
nenriquez / livemap.py
Created August 1, 2017 20:02 — forked from dbr/livemap.py
Live Google Map marker update with Tornado
"""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)