TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN:San Francisco JavaScript API

8 点作者 cehlen超过 11 年前
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 条评论

systemtrigger超过 11 年前
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 未加载
brownBananas超过 11 年前
Cool. Any possibility of putting the source code on Github?
评论 #6414461 未加载