Toggle navigation
Toggle navigation
This project
Loading...
Sign in
尹诚
/
Mapbox-iOS-SDK
·
Commits
Go to a project
GitLab
Go to dashboard
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
Justin R. Miller
2012-05-10 15:05:47 -0700
Commit
b7a2783074853c040c46128dcfd58c40e9feb7ef
1 parent
578d84de
update delegate on heading change, just like MapKit does
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
MapView/Map/RMMapView.m
MapView/Map/RMMapView.m
View file @
b7a2783
...
...
@@ -2184,6 +2184,9 @@
userLocation
.
heading
=
newHeading
;
if
(
_delegateHasDidUpdateUserLocation
)
[
delegate
mapView
:
self
didUpdateUserLocation
:
userLocation
];
if
(
newHeading
.
trueHeading
!=
0
&&
userTrackingMode
==
RMUserTrackingModeFollowWithHeading
)
{
[
UIView
animateWithDuration
:
1
.
0
...
...
Please
register
or
login
to post a comment