tracksUserLocation
A Boolean value that determines whether to center the map on the user’s location.
Declaration
get tracksUserLocation(): boolean;
set tracksUserLocation(value: boolean);Discussion
Set this property to true to center the map on the user location annotation. Enabling this property automatically enables showsUserLocation.
Set this property to false to stop centering the map on the current location.
A programmatic or user-initiated change to the map’s region that moves the user location annotation off the center automatically disables tracksUserLocation.