how to get current location inside a building iphone
How is it possible to obtain the current location inside a building. I want to develop an application similar to this http://matadornetwork.com/goods/point-inside-indoor-map-application-for-the开发者_开发技巧-iphone-and-android/ (on a smaller/less complicated scale) and wondering on the approach i should take. Are there any tutorials/examples/articles that would point me in the right direction? Thanks ...
Indoor Navigation System for Handheld Devices shows up a few possibilities how indoor navigation could work.
Using kCLLocationAccuracyBestForNavigation
or kCLLocationAccuracyBest
you can expect to get a relatively accurate location of your user [see Apple's Location Awareness Programming Guide]. You need to consider that
- Indoor use of the GPS will make precise location difficult
- iPod Touch and iPad users won't be able to get precise location
- I doubt altitude will be precise enough to make the difference between floors in high rises
Also consider you'll have to gather a ton of information on the buildings you want to map (not only draw their floorplan but also get their precise coordinates).
After you have all this information, presenting a glowing dot on an image shouldn't be difficult, just a matter of transforming the geo coordinates into something more manageable (at the scale of the CGRect of the different images representing the buildings). No need to use mapkit.
As of the software your linking to, I have doubts it can accurately delivers results in term of the current location of users (but still being useful to get phone numbers and compass information for example). Unfortunately though, this kind of technology is very promising.
精彩评论