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
13 years ago
Commit
3d7c034666abb4cd15831bf819508bd4e7dafe00
1 parent
a2cef906
pass annotation label taps to annotation if not handled in delegate
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
MapView/Map/RMMapView.m
MapView/Map/RMMapView.m
View file @
3d7c034
...
...
@@ -1074,6 +1074,10 @@
{
[
delegate
tapOnLabelForAnnotation
:
anAnnotation
onMap
:
self
];
}
else
if
(
_delegateHasTapOnAnnotation
&&
anAnnotation
)
{
[
delegate
tapOnAnnotation
:
anAnnotation
onMap
:
self
];
}
else
{
if
(
_delegateHasSingleTapOnMap
)
...
...
@@ -1087,6 +1091,10 @@
{
[
delegate
doubleTapOnLabelForAnnotation
:
anAnnotation
onMap
:
self
];
}
else
if
(
_delegateHasDoubleTapOnAnnotation
&&
anAnnotation
)
{
[
delegate
doubleTapOnAnnotation
:
anAnnotation
onMap
:
self
];
}
else
{
[
self
mapTiledLayerView
:
tiledLayerView
doubleTapAtPoint
:
aPoint
];
...
...
Please
register
or
login
to post a comment