You are viewing an old version of this page. View the current version.
Version 1 Next »
Version 2.3.0 BETA (use PWMapKit v2.2.0 for production)
This is Phunware's iOS SDK for the Mapping module. Visit http://maas.phunware.com/ for more details and to sign up.
PWMapKit is a comprehensive indoor mapping and wayfinding SDK that allows easy integration with Phunware's indoor maps and location-based services.
- MaaS Core v1.3.0 or greater
- iOS 7.0 or greater
- Xcode 6 or greater
It's recommended that you add the MaaS frameworks to the Vendor/Phunware directory, then add the MaaSCore.framework and PWMapKit.framework to your Xcode project.
The following frameworks are required:
Alternatively, you can install PWMapKit using CocoaPods:
// Add this to your Podfile
Scroll down for implementation details.
PWMapKit documentation is included in the the repository's Documents folder as both HTML and as a .docset. You can also find the latest documentation here: Advertising SDK Integration Guide (Android)
PWMapKit comes with a ready-to-use sample application. However, you will need to update the application with your MaaS credentials and location provider information.
- Update your MaaS credentials and set up the building identifier in
- Update the localtion provider initializers in
The primary methods and objects in PWMapKit revolve around creating a map view, displaying annotations, displaying a user's location and navigation.
Adding Indoor Maps to a Map View
PWMapKit implements an abstract indoor location manager protocol very similar to CLLocationManager, which can be implemented to provide indoor location. PWMSELocationManager implements this protocol to provide Wi-Fi-based indoor location information.
The indoor routing APIs have been structured to mirror MKMapKit's routing methods. The three main routing classes are PWDirectionsRequest, PWDirections and PWDirectionsResponse. Please see the API documentation and examples below for additional detail.
Routing Between Points of Interest
Routing from a Location to a Point of Interest
PWMapKit uses the following third-party components. All components are prefixed so you don't have to worry about namespace collisions.
ON THIS PAGE