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

No problem. Mind if I ask what you're using to track my location so discreetly? Chrome never asked me for permission. :P I'm also building a location-based webapp and would like to check it out.


I'm using this from google http://code.google.com/apis/loader/

Code runs in the browser then:

if (google.loader.ClientLocation != null) { loc = google.loader.ClientLocation.address.city; lat = google.loader.ClientLocation.latitude lng = google.loader.ClientLocation.longitude }

hope that helps.


Thanks!




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: