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
2013-01-31 17:38:40 -0800
Commit
cb4f27ed6e9e8d18aa36002cf1430bf3959207f4
1 parent
a47b43ea
fixes #182: allow special annotation classes to remove their layer
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
3 deletions
MapView/Map/RMPointAnnotation.m
MapView/Map/RMPolygonAnnotation.m
MapView/Map/RMPolylineAnnotation.m
MapView/Map/RMPointAnnotation.m
View file @
cb4f27e
...
...
@@ -34,7 +34,9 @@
-
(
void
)
setLayer
:(
RMMapLayer
*
)
newLayer
{
if
(
newLayer
)
if
(
!
newLayer
)
[
super
setLayer
:
nil
];
else
RMLog
(
@"Setting a custom layer on an %@ is a no-op"
,
[
self
class
]);
}
...
...
MapView/Map/RMPolygonAnnotation.m
View file @
cb4f27e
...
...
@@ -57,7 +57,9 @@
-
(
void
)
setLayer
:
(
RMMapLayer
*
)
newLayer
{
if
(
newLayer
)
if
(
!
newLayer
)
[
super
setLayer
:
nil
];
else
RMLog
(
@"Setting a custom layer on an %@ is a no-op"
,
[
self
class
]);
}
...
...
MapView/Map/RMPolylineAnnotation.m
View file @
cb4f27e
...
...
@@ -34,7 +34,9 @@
-
(
void
)
setLayer
:(
RMMapLayer
*
)
newLayer
{
if
(
newLayer
)
if
(
!
newLayer
)
[
super
setLayer
:
nil
];
else
RMLog
(
@"Setting a custom layer on an %@ is a no-op"
,
[
self
class
]);
}
...
...
Please
register
or
login
to post a comment