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-30 14:43:20 -0800
Commit
85d7f38aa23d32d639503de0cc197c94f65daec5
1 parent
2fed4a24
fixes #178: fail map view init on invalid tile source
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
MapView/Map/RMMapView.m
MapView/Map/RMMapView.m
View file @
85d7f38
...
...
@@ -358,7 +358,7 @@
minZoomLevel
:(
float
)
minZoomLevel
backgroundImage
:(
UIImage
*
)
backgroundImage
{
if
(
!
(
self
=
[
super
initWithFrame
:
frame
]))
if
(
!
newTilesource
||
!
(
self
=
[
super
initWithFrame
:
frame
]))
return
nil
;
[
self
performInitializationWithTilesource
:
newTilesource
...
...
Please
register
or
login
to post a comment