Follow Position Preferences
- UIKit
This example demonstrates how to use GEMKit in a UIKit application to customise the follow-position camera behaviour so the user's pinch and drag adjustments to zoom level and tilt angle are persisted across the session, and can be reset to defaults on demand.
Check the full implementation on GitHub.

Enabling Persistent Follow Position Modifications
setTouchHandlerModifyPersistent(true) is called during map setup so that any zoom or angle change the user makes while following the position is remembered:
Restoring Default Follow Position
A Reset button calls restoreFollowingPosition(withAnimationDuration:completionHandler:) to animate back to the original zoom and angle without stopping navigation:
Saving Tracker State on Pinch or Shove
Both the pinch and shove MapViewControllerDelegate callbacks trigger savePositionTrackerState(). When the map is actively following the position, the current zoom and angle combination is serialised with saveStatePositionTracker() so it can be restored on demand:
Navigation Panel
The NavigationViewController used in this example is a full-featured turn-by-turn panel displaying turn images, distance, lane guidance, traffic events, signpost overlays, and safety alerts. Due to its size it is not reproduced here — check the full implementation on GitHub.