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
Plain Diff
Browse Files
Authored by
Thomas Rasch
13 years ago
Commit
c2905d081a3eae543327a5e2cf0f9c1c3e24ddaa
2 parents
90076f00
bdc6b2da
Merge pull request #64 from mapbox/marker_label_tap_fix
marker label tap fix
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
MapView/Map/RMMapOverlayView.m
MapView/Map/RMMapOverlayView.m
View file @
c2905d0
...
...
@@ -106,10 +106,12 @@
CALayer
*
hit
=
[
self
.
layer
hitTest
:
point
];
if
(
!
hit
||
!
[
hit
isKindOfClass
:[
RMMarker
class
]])
RMAnnotation
*
hitAnnotation
=
[
self
findAnnotationInLayer
:
hit
];
if
(
!
hit
||
!
hitAnnotation
||
!
[
hitAnnotation
.
layer
isKindOfClass
:[
RMMarker
class
]])
return
NO
;
return
((
RMMarker
*
)
hit
).
a
nnotation
.
enabled
;
return
hitA
nnotation
.
enabled
;
}
-
(
RMAnnotation
*
)
findAnnotationInLayer
:
(
CALayer
*
)
layer
...
...
Please
register
or
login
to post a comment