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
Thomas Rasch
13 years ago
Commit
ec8f1fbc56ba6e4b5545d20a31f7cc0848ab04bf
1 parent
12128029
o Synchronize cluster marker movement with the map scroll view (addresses #7)
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
MapView/Map/RMMapView.m
MapView/Map/RMMapView.m
View file @
ec8f1fb
...
...
@@ -1040,6 +1040,8 @@
-
(
void
)
scrollViewDidEndZooming
:
(
UIScrollView
*
)
scrollView
withView
:
(
UIView
*
)
view
atScale
:
(
float
)
scale
{
_mapScrollViewIsZooming
=
NO
;
[
self
correctPositionOfAllAnnotations
];
}
-
(
void
)
scrollViewDidZoom
:
(
UIScrollView
*
)
scrollView
...
...
@@ -1548,7 +1550,7 @@
if
(
self
.
quadTree
)
{
if
(
!
correctAllAnnotations
)
if
(
!
correctAllAnnotations
||
_mapScrollViewIsZooming
)
{
for
(
RMAnnotation
*
annotation
in
visibleAnnotations
)
[
self
correctScreenPosition
:
annotation
];
...
...
Please
register
or
login
to post a comment