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
Thomas Rasch
2011-09-07 10:15:19 +0200
Commit
8f86979488561045b90a56f454825eb38b40694e
1 parent
18a8d9d5
o Added a cancelAllDownloads stub to the tile sources
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
0 deletions
MapView/Map/RMAbstractMercatorTileSource.m
MapView/Map/RMMapView.m
MapView/Map/RMTileSource.h
MapView/Map/RMAbstractMercatorTileSource.m
View file @
8f86979
...
...
@@ -92,6 +92,10 @@
userInfo
:
nil
];
}
-
(
void
)
cancelAllDownloads
{
}
-
(
RMFractalTileProjection
*
)
mercatorToTileProjection
{
if
(
!
tileProjection
)
{
...
...
MapView/Map/RMMapView.m
View file @
8f86979
...
...
@@ -1106,6 +1106,7 @@
if
(
tileSource
==
newTileSource
)
return
;
[
tileSource
cancelAllDownloads
];
[
tileSource
autorelease
];
tileSource
=
[
newTileSource
retain
];
...
...
MapView/Map/RMTileSource.h
View file @
8f86979
...
...
@@ -41,6 +41,7 @@
@
protocol
RMTileSource
<
NSObject
>
-
(
UIImage
*
)
imageForTile
:
(
RMTile
)
tile
inCache
:
(
RMTileCache
*
)
tileCache
;
-
(
void
)
cancelAllDownloads
;
-
(
RMFractalTileProjection
*
)
mercatorToTileProjection
;
-
(
RMProjection
*
)
projection
;
...
...
Please
register
or
login
to post a comment