This release adds capability to get remaining distance to a route destination.
- Open the
Podfile
from your project and change PWMapKit to includepod 'PWMapKit', '3.15.x'
, then runpod update
in the Terminal to update the framework.
This release adds capability to get distances from a starting location to all POIs.
- Open the
Podfile
from your project and change PWMapKit to includepod 'PWMapKit', '3.14.x'
, then runpod update
in the Terminal to update the framework.
This release adds capability to display connected buildings during campus routing.
- Open the
Podfile
from your project and change PWMapKit to includepod 'PWMapKit', '3.13.x'
, then runpod update
in the Terminal to update the framework.
The iOS deployment target of PWMapKit is now 13.0 instead of 10.0. To be compatible with PWMapKit, an application must have a minimum iOS deployment target of 13.0 as well.
-
Update your applicable Xcode project settings to a minimum iOS deployment target of 13.0 or greater.
-
Open the
Podfile
from your project and change PWMapKit to includepod 'PWMapKit', '3.12.x'
, update your iOS platform to 13.0 or greater, then runpod update
in the Terminal to update the framework.
This release adds campus routing features.
ADDED
*- (void)setCampus:(PWCampus *)campus animated:(BOOL)animated onCompletion:(void (^)(NSError *error))completion;
- Open the
Podfile
from your project and change PWMapKit to includepod 'PWMapKit', '3.11.x'
, then runpod update
in the Terminal to update the framework.
This release updates the distribution packaging format to use the new XCFramework binary format.
- Open the
Podfile
from your project and change PWMapKit to includepod 'PWMapKit', '3.10.x'
, then runpod update
in the Terminal to update the framework.
This release includes Landmark Routing features.
- Open the
Podfile
from your project and change PWMapKit to includepod 'PWMapKit', '~> 3.9.x'
, then runpod update
in the Terminal to update the framework.
This release includes PWLocation 3.8.x which contains GPS blending with indoor location providers and Managed Compass.
-
Open the
Podfile
from your project and change PWMapKit to includepod 'PWMapKit', '3.8.x'
, then runpod update
in the Terminal to update the framework. -
If your site suffers from inaccurate heading with blue dot, try setting
managedCompassEnabled
totrue
on yourPWMapView
instance. See documentation onmanagedCompassEnabled
for more details.
This release includes PWLocation 3.7.x which contains beacon maintenance features.
- Open the
Podfile
from your project and change PWMapKit to includepod 'PWMapKit', '3.7.x'
, then runpod update
in the Terminal to update the framework.
This release includes PWCore 3.8.x which contains new automatic screen view analytic events and simplified analytic event creation.
-
Open the
Podfile
from your project and change PWMapKit to includepod 'PWMapKit', '3.6.x'
, then runpod update
in the Terminal to update the framework. -
Check out the migration guide for PWCore 3.8.x on updating to the new analytics API.
The iOS deployment target of PWMapKit is now 10.0 instead of 9.0. To be compatible with PWMapKit, an application must have a minimum iOS deployment target of 10.0 as well.
-
Update your applicable Xcode project settings to a minimum iOS deployment target of 10.0 or greater.
-
Open the
Podfile
from your project and change PWMapKit to includepod 'PWMapKit', '3.5.x'
, update your iOS platform to 10.0 or greater, then runpod update
in the Terminal to update the framework.
This release bumps the version of PWLocation which no longer prompts for location permission, leaving control to the app developer.
-
Open the
Podfile
from your project and change PWMapKit to includepod 'PWMapKit', '3.3.x'
, then runpod update
in the Terminal to update the framework. This will take in the latest version of PWLocation 3.3.x with latest version of PWCore 3.6.x. -
Please follow Apple's Best Practices for requesting location permissions.
-
According to the above best practices, react to different levels of authorization the user might pick: Always, When In Use, or None. A PWLocationManager should not be used if no location permission was given; this can lead to unexpected and unsupported behavior.
This release has some changes to support our new Location BLE provider.
- Open the
Podfile
from your project and change PWMapKit to includepod 'PWMapKit', '3.3.x'
, then runpod update
in the Terminal to update the framework. This will take in the latest version of PWLocation 3.3.x with latest version of PWCore 3.3.x.
Before v3.2.0 the PWMapView
is a subclass of UIView
and provides almost all the functions and properties like MKMapView
does, from v3.2.0 PWMapView
is changed to be subclass of MKMapView
and you can use all the functions and properties that MKMapView
has, as well as some convenient ones for indoor features.
-
Open the
Podfile
from your project and change PWMapKit include aspod 'PWMapKit', '3.2.0'
, then runpod update
in the Terminal to update the framework. -
Search for
.userLocation
in whole project and replace the PWMapView.userLocation
with PWMapView.indoorUserLocation
, and don't forget change its type fromPWCustomLocation
toPWUserLocation
. -
Search for
.floor
in whole project and replace the PWMapView.floor
with PWMapView.currentFloor
. -
Search for
didChangeUserTrackingMode
in whole project and replace PWMapViewDelegate.mapView:didChangeUserTrackingMode:
with PWMapViewDelegate.mapView: didChangeIndoorUserTrackingMode:
. -
The
PWMapView.currentRoute
is changed toreadonly
, remove the code of settingcurrentRoute
if possible. -
Optional - replace the deprecated stuff according the change detail as below.
- Set initial(or default) floor for the map via its delegate callback
[PWMapViewDelegate mapViewWillSetInitialFloor:]
. - Set initial display region for the map via its delegate callback
[PWMapViewDelegate mapViewWillSetCameraAfterLoadingBuilding:]
.
IMPORTANT
PWMapView.userLocation
will not be user's indoor location, you can usePWMapView.indoorUserLocation
instead.[PWMapViewDelegate mapView: didChangeUserTrackingMode:]
will not deliver tracking mode changes, you can use[PWMapViewDelegate mapView: didChangeIndoorUserTrackingMode:]
instead.PWMapView.currentRoute
is changed toreadonly
.
ADDED
[PWMapViewDelegate mapView: didChangeIndoorUserTrackingMode:]
, it's a replacement of[PWMapViewDelegate mapView: didChangeTrackingMode:]
[PWMapViewDelegate mapViewWillSetCameraAfterLoadingBuilding:]
, it's using for setting an initial map region to display.[PWMapViewDelegate mapViewWillSetInitialFloor:]
, it's using for setting an initial floor to display.
DEPRECATED
PWMapView.zoomLevel
, you can usePWMapView.region
orPWMapView.visibleMapRect
instead.[PWMapView getFloorByFloorId:]
, you can use[PWMapView floorById:]
replace.[PWMapView setCenterCoordinate: zoomLevel: animated:]
, you can use any of[PWMapView setCamera: animated:]
,[PWMapView setRegion: animated:]
,[PWMapView setVisibleMapRect: animated:]
or[PWMapView setVisibleMapRect: edgePadding: animated:]
instead.[PWMapView navigateToCustomLocation:]
and[PWMapView navigateToPointOfInterest:]
, you can use[PWMapView setCamera:animated:]
or[PWMapView setCenter:animated:]
instead.[PWMapView viewForPointOfInterest:]
, you can use[PWMapView viewForAnnotation:]
instead.[PWMapView showPointsOfInterest:]
, you can use[PWMapView showAnnotations: animated:]
instead.[PWMapView selectPointOfInterest:] animated:
, you can use[PWMapView selectAnnotations: animated:]
instead.[PWMapView deselectPointOfInterest:] animated:
, you can use[PWMapView deselectAnnotations: animated:]
instead.[PWMapView startUpdatingHeading]
and[PWMapView stopUpdatingHeading]
, you can create your ownCLLocationManager
to get heading update.[PWMapView setFloor:]
, you can usePWMapView.currentFloor
instead.
REMOVED
- Long press on the map to drop a pin will no longer work and the
PWMapView.customLocation
is removed, but you can simply add it withUILongPressGestureRecognizer
by yourself.
DEPRECATED
[PWBuilding buildingWithIdentifier:usingCache:completion:]
, you can use[PWBuilding buildingWithIdentifier:completion:]
instead.[PWBuilding getFloorByFloorId:]
, you can use[PWBuilding floorById:]
instead.
Added
- The
PWPointOfInterest.imageURL
, it's an optional replacement ofimage
.
- This class is deprecated, you can use
PWUserLocation
instead.