为 iPhone 开发地理位置应用程序
如何构建一个“Spots”目录供用户在本机 iPhone 应用程序中签到?或者,开发人员是否从 Google 地图等借用数据?
How does one build a directory of 'Spots' for users to check-in to in a native iPhone app? Or, does the developer borrow data from, let's say, Google Maps?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
当您使用从其他网络或来源获得的数据时,您面临数据可能发生变化和/或可能不准确的风险,数据可能不复存在,(对于谷歌更是如此,哈哈,一分钟它们就像势不可挡的那样,接下来他们就像“消失”一样,没有解释,没有道歉,只是在行动中缺失,如果您为企业开发应用程序,那么最好使用您自己的数据源,
这可能会更昂贵,但这是您拥有任何数据源的唯一方法。对您的应用程序资源的控制。
When you Use data obtained from another network or source, you take a risk that the data may change and or may not be accurate, The data may cease to exist, (more so with google, LOL, one minute they are there like gangbusters, the next they are like "Gone" no explanation no apologies, just missing in action, if your developing an application for a business its always best to use your own data sources.
That may be more expensive but its the only way you will have any kind of control over your application resources,.
你可以采用两种方法,这取决于你想做什么以及你如何设计它。您可以拥有预先记录的静态景点数据库,或者您可以有时连接到某个服务器来更新它,或者您可以通过每次从互联网加载数据来动态地完成这一切。
选择哪一个?首先,您在设计应用程序时应考虑以下因素:
等等
You can go both ways, it depends on what you want to do and how you designed it to do it. You can have a prerecorded and static database of spots, or you can update it sometimes connecting to some server or you can do it all dynamically by loading each time data from the internet.
Which one to choose? first you shall design your app having in mind something like:
and so on
开发自己的地点数据库可能是一项艰巨的任务(而且您的竞争对手已经领先)。 Google 开始提供其 Places API对于“签入”风格的应用程序,因此您也许能够参与他们的测试版。
Developing your own database of places is likely to be quite an undertaking (and your competitors have a big head start). Google is beginning to provide their Places API for "check-in" style applications, so you may be able to get in on their beta.