FollowController | iOS SDK | 2GIS Documentation

FollowController

A class that 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 FollowController, which is responsible for scale, doesn't have to override coordinates() methods and others).

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

Returns a Boolean value indicating whether two values are equal.

Methods
Properties

A 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?>

A 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().

A 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.

Zoom level of the map.

Precision circle radius (meters).