TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN:San Francisco JavaScript API

8 pointsby cehlenover 11 years ago
I recently developed a JavaScript library that determines what San Francisco neighborhoods and&#x2F;or districts someone is in. The application is served from Google App Engine so if no one is using the application the server instances are shut down and your first couple queries might be slow. But after a couple instances are spun up it performs quite well. The example application is just an example so it&#x27;s not very sophisticated or pretty to look at. For the example to work properly it must run on a device that supports the HTML5 geo location API such as an iPhone. If you get chance take a look at it and tell me what you think. I actually live in Gilbert Arizona so it&#x27;s a bit hard for me to test it in the real world any input on quality of my output is appreciated. In the next couple of days I plan on documenting the API and posting on HN again. In the meantime just look at the JavaScript code, it&#x27;s a very simple API to understand.<p>Example Application: http:&#x2F;&#x2F;www.iamnear.com&#x2F;examples&#x2F;sfjslib.html<p>URL to JavaScript Library: http:&#x2F;&#x2F;www.iamnear.com&#x2F;js&#x2F;iamnear&#x2F;sfjslib.js<p>Thank you in advance for any and all input.

2 comments

systemtriggerover 11 years ago
I am near you, in Chandler, so cannot help test SF but would be interested in PHX. After reading your JavaScript I have a question: HTML5 geolocation returns lat&#x2F;lon so what are you using that isn&#x27;t shown in the script to get neighborhood?
评论 #6413204 未加载
brownBananasover 11 years ago
Cool. Any possibility of putting the source code on Github?
评论 #6414461 未加载