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
2012-12-05 16:57:04 -0800
Commit
b23a4e64e6b9292c7a9bd455244935e13b1c4ed0
1 parent
482b6228
fixes #155: don't crash on nil static map handler
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
MapView/Map/RMStaticMapView.m
MapView/Map/RMStaticMapView.m
View file @
b23a4e6
...
...
@@ -78,6 +78,8 @@
self
.
userInteractionEnabled
=
NO
;
if
(
handler
)
{
_weakSelf
=
self
;
dispatch_async
(
tileSource
.
dataQueue
,
^
(
void
)
...
...
@@ -89,6 +91,7 @@
handler
(
image
);
});
});
}
return
self
;
...
...
Please
register
or
login
to post a comment