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
Obrand69
2008-11-20 17:25:26 +0000
Commit
f07ca1edaa3effa7cc8e6182e0ed74dd22c15658
1 parent
28852919
Added the retain on the label so the layer shows up.
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
MapView/Map/RMMarker.m
MapView/Map/RMMarker.m
View file @
f07ca1e
...
...
@@ -75,7 +75,11 @@ static CGImageRef _markerBlue = nil;
-
(
void
)
addLabel
:
(
UIView
*
)
label
{
[
self
addSublayer
:[
label
layer
]];
[
label
retain
];
CALayer
*
layer
=
[
label
layer
];
//[layer
[
self
addSublayer
:
layer
];
//[self insertSublayer:[label layer] above:self];
}
...
...
Please
register
or
login
to post a comment