Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

https://gist.github.com/crertel/7244841

There you go--left out the boring HTML scaffolding (original chat example modified from here: https://github.com/igrigorik/em-websocket).

EDIT: It's super MVP, but the concept is there.

A very, very simple addition would have the server echo back to the clients the lat/long pairs in question to dynamically update, say, a Google Maps window.

For real usage, I'd use a PostGIS query--something like this: http://unserializableone.blogspot.com/2007/02/using-postgis-... .

EDIT2:

Looks like we're both Texans--if you're ever in Houston, I'd be glad to grab a beer with you.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: