How to implement Indoor atlas sdk in iOS swift
Posted By : Varun Wadhwa | 30-Jun-2017
Indoor Atlas : Indoor Atlas is positioning system to locate and track people inside a building. It uses geomagnetic fields , radio signals sensors to detect the position. It is use to integrate location based services to our app.
Use cases of Indoor Atlas :
a) Way-Finding : To add a way finding capabilities in our mobile app. For example in airports to find a way to nearest cafeteria.
b) Multi-Dot : It enables multiple users to visualized on map. For apps like Uber we can see multiple cabs location on map the same we can see in inside a building in case of indoor atlas.
c) Proximity Marketing : It provides proximity marketing in our app. Like providing offers to attract more customers when a customer visit a place.
Steps to Integrate :
1.After sign-up we’ve to create location and add floor and upload a floor plan image. link for sign-up : https://app.indooratlas.com/signup
2. After uploading floor plan, to successfully generating the map we’ve to use IndoorAtlas MapCreator 2 app (available in Play Store : https://play.google.com/store/apps/details?id=com.indooratlas.android.apps.jaywalker&hl=en) to generate magnetic field for the floor plan.
3. For integrating with your project, follow the steps:
a) Add pod 'IndoorAtlas' to your project’s podfile.
b) In your AppDelegate configure with API Key and API Secret
IALocationManager.sharedInstance().setApiKey(“API Key” , andSecret : “APISecret”)
c) Delegate to IALocationManagerDelegate and implement its delegate methods
func indoorLocationManager(manager: IALocationManager, didEnterRegion region: IARegion) {
//Custom Implementation
// Will fire on entering region
}
func indoorLocationManager(manager: IALocationManager, didExitRegion region: IARegion) {
//Custom Implementation
// Will fire on exit region.
}
Thanks,
Cookies are important to the proper functioning of a site. To improve your experience, we use cookies to remember log-in details and provide secure log-in, collect statistics to optimize site functionality, and deliver content tailored to your interests. Click Agree and Proceed to accept cookies and go directly to the site or click on View Cookie Settings to see detailed descriptions of the types of cookies and choose whether to accept certain cookies while on the site.
About Author
Varun Wadhwa
Varun is a mobile developer with experience in various technologies like Titanium , Cordova and native iOS development.