SYTransformCenterSettings Struct Reference

Map transform center settings for transitions between SYCameraMovementFree and SYCameraMovementFollowGpsPosition/SYCameraMovementFollowGpsPosition camera movement modes. More...

#include <SYMapCamera.h>

Public Attributes

CGPoint transformCenterFree
 Point at which map movements and animations are centered, when camera movement mode is set to SYCameraMovementFree. The transformCenter is specified in relative coordinates in the range {[0,1],[0,1]},with {0,0} representing the lower left corner of the map and {1,1} the upper right corner. More...
 
SYMapAnimationCurve animationCurveFree
 Animation curve when transformCenterFree is applied. More...
 
NSTimeInterval animationDurationFree
 Animation duration when transformCenterFree is applied. More...
 
CGPoint transformCenterFollowGps
 Point at which map movements and animations are centered, when camera movement mode is set to SYCameraMovementFollowGpsPosition or SYCameraMovementFollowGpsPositionWithAutozoom. The transformCenter is specified in relative coordinates in the range {[0,1],[0,1]},with {0,0} representing the lower left corner of the map and {1,1} the upper right corner. More...
 
SYMapAnimationCurve animationCurveFollowGps
 Animation curve when transformCenterFollowGps is applied. More...
 
NSTimeInterval animationDurationFollowGps
 Animation duration when transformCenterFollowGps is applied. More...
 

Detailed Description

Map transform center settings for transitions between SYCameraMovementFree and SYCameraMovementFollowGpsPosition/SYCameraMovementFollowGpsPosition camera movement modes.

Member Data Documentation

◆ animationCurveFollowGps

SYMapAnimationCurve SYTransformCenterSettings::animationCurveFollowGps

Animation curve when transformCenterFollowGps is applied.

◆ animationCurveFree

SYMapAnimationCurve SYTransformCenterSettings::animationCurveFree

Animation curve when transformCenterFree is applied.

◆ animationDurationFollowGps

NSTimeInterval SYTransformCenterSettings::animationDurationFollowGps

Animation duration when transformCenterFollowGps is applied.

◆ animationDurationFree

NSTimeInterval SYTransformCenterSettings::animationDurationFree

Animation duration when transformCenterFree is applied.

◆ transformCenterFollowGps

CGPoint SYTransformCenterSettings::transformCenterFollowGps

Point at which map movements and animations are centered, when camera movement mode is set to SYCameraMovementFollowGpsPosition or SYCameraMovementFollowGpsPositionWithAutozoom. The transformCenter is specified in relative coordinates in the range {[0,1],[0,1]},with {0,0} representing the lower left corner of the map and {1,1} the upper right corner.

◆ transformCenterFree

CGPoint SYTransformCenterSettings::transformCenterFree

Point at which map movements and animations are centered, when camera movement mode is set to SYCameraMovementFree. The transformCenter is specified in relative coordinates in the range {[0,1],[0,1]},with {0,0} representing the lower left corner of the map and {1,1} the upper right corner.


The documentation for this struct was generated from the following file: