FollowController | iOS SDK | 2GIS Documentation

FollowController

Allows you to control the position of the camera and the geopositioning marker. All its methods implementations must be thread-safe. Most methods have trivial default implementations (so that FollowController, which is responsible for scaling, does not have to override coordinates() methods, etc.).

Extends: Hashable
public static func == (lhs: FollowController, rhs: FollowController) -> Bool

Returns a Boolean value indicating whether two values are equal.

Methods
Properties

Set of value types that this FollowController can control. For example, one FollowController can only control coordinates, while another can only control map tilt.

StatefulChannel<Date?>

Channel that informs subscribers of the time of the next visible value change. The time of change of values not among those requested with request_values() may not be reported. The time values are interpreted relative to the source passed in set_clock().

Channel that informs subscribers of the time of the next visible value change. The time of change of values not among those requested with request_values() may not be reported. The time values are interpreted relative to the source passed in set_clock().

Geographic coordinates.

Direction of travel.

Direction to magnetic north.

Map tilt.

Style zoom level of the map.

Precision circle radius (meters).