ios-samples/ios8/Footprint
David Britch 168efa013e Switched to 64-bit only builds. 2018-08-07 14:13:47 +01:00
..
Footprint Switched to 64-bit only builds. 2018-08-07 14:13:47 +01:00
Screenshots copied Footprint 2014-09-19 21:31:49 +04:00
Footprint.sln copied Footprint 2014-09-19 21:31:49 +04:00
LICENSE.txt [Footprint] Add license 2016-02-18 22:36:19 -03:00
Metadata.xml Fix metadata file 2016-09-08 18:00:01 -03:00
README.md [Footprint] Update readme 2016-02-18 22:35:08 -03:00

README.md

Footprint

Display device location on a floorplan image. Using Core Location, we will take the position in Latitude/Longitude and project it onto a flat floorplan. We will demonstrate how to do the conversion from the Geographic coordinates system (Latitude/Longitude) to the floorplan's image coordinate system (x,y)

Note: For this sample to function, you must have a floorplan for a venue that is Indoor Positioning enabled. To see the the apporpriate position on the floorplan, the device will need to be in that venue. If you are not in a venue, you must emulate a position in the venue using "Custom Location" in the simulator.

Using Your Own Floorplan

If you have a venue floorplan you would like to use, make the following changes:

  • Replace the existing FLOORPLAN_IMAGE in the image Assets
  • Set the two anchor points in MainViewController: These are two points on the floorplan in Latitude/Longitude, and Image x,y

Refs

https://developer.apple.com/videos/wwdc/2014/

  • Taking Core Location Indoors (recomended)
  • What's New in Core Location (optional)

Build Requirements

Building this sample requires Xcode 6.0 and iOS 8.0 SDK

Target

This sample runnable on iPhoneSimulator/iPadSimulator iPhone/iPad

Xamarin port changes are released under the MIT license

Author

Ported to Xamarin.iOS by Rustam Zaitov