iOS SDK change log from version 3.0.3 to version 3.1.0

Change Log

Improvements:

  • SDK networking changed to use secure HTTPS requests instead of HTTP requests.
  • The attributions (company & OSM labels) displayed on map have been replaced with corresponding images.

Fixed bugs:

  • Map flickering at zoom level 10
  • Endless flickering POI icons / building names / house numbers
  • Road network flickering between zoom levels 7 - 8
  • Fixed the issue regarding the POIs, roads and shapes flickering

SKDefinitions

Added new enum for SKAttributionType

typedef NS_ENUM(NSInteger, SKAttributionType)
{
SKAttributionTypeCompany = 0,
SKAttributionTypeLine = 1,
SKAttributionTypeOSM = 2
};

SKRouteSettings class

Added new property

/** If set to YES, routeTurningPointsAsGPSPointsForRouteWithId / routeTurningPointsAsMercatorPointsForRouteWithId will return valid turning points (the points where advices take place) after calculation. Default is NO.
*/
@property(nonatomic, assign) BOOL requestTurningRoutePoints;

SKRoutingService class

Changed

/** Starts route calculations. The routingDelegate will receive calculation status notifications.
@param route Stores route calculation settings.
*/
- (void)calculateRoute:(SKRouteSettings * _Nonnull)route;

to

/** Starts route calculations. The routingDelegate will receive calculation status notifications.
@param route Stores route calculation settings
@param dynamicReroutingProfile If set to YES, a rerouting will be performed and it will adapt to a routing profile change. If set to NO, the route will be normally calculated.
*/
- (void)calculateRoute:(SKRouteSettings * _Nonnull)route useDynamicReroutingProfile:(BOOL)dynamicReroutingProfile;

Changed

/** Signals that the road ahead has been unblocked. In navigation mode unblocks all previously blocked roads and causes a rerouting. In map mode unblocks all previously blocked roads and relaunches the calculation of the current route.
*/
- (void)unBlockAllRoads;

to

/** Signals that the road ahead has been unblocked. In navigation mode unblocks all previously blocked roads and causes a rerouting. In map mode unblocks all previously blocked roads and relaunches the calculation of the current route.
@param reroute If set to YES, a rerouting is triggered after unblocking the road.
*/
- (void)unBlockAllRoads:(BOOL)reroute;

Changed

/** Starts rerouting from the last matched position;
*/
- (void)rerouteFromLastMatchedPosition;

to

/** Starts rerouting from the last matched position. Use this when the route is calculated using a GPX file and a rerouting is needed for navigating on the GPX route from current position.
*/
- (void)rerouteFromLastMatchedPosition;

Added new method

/**
Returns the array of turning points as GPS points for the current route.

@param routeId The identifier of the route which can be obtained from the returned SKRouteInformation.
@return The array of route coordinates ( CLLocation objects ).
*/
- (NSArray * _Nonnull)routeTurningPointsAsGPSPointsForRouteWithId:(int)routeId;

Added new method

/** Returns the array of turning points as GPS points for the current route.
@return The array of route coordinates (CLLocation objects ).
*/
- (NSArray * _Nonnull)routeTurningPointsAsGPSPoints;

Added new method

/**
Returns the array of turning points as Mercator points for the current route.

@param routeId The identifier of the route which can be obtained from the returned SKRouteInformation.
@return The array of route coordinates ( CLLocation objects ).
*/
- (NSArray * _Nonnull)routeTurningPointsAsMercatorPointsForRouteWithId:(int)routeId;

Added new method

/** Returns the array of turning points as Mercator points for the current route.
@return The array of route coordinates (CLLocation objects ).
*/
- (NSArray * _Nonnull)routeTurningPointsAsMercatorPoints;