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
Tracy Harton
2009-12-10 01:13:25 +0000
Commit
8e55ad4a1475fe4424023516c97908c157d2bd77
1 parent
dc6bb931
setMaxZoom/setMinZoom pass-thru for RMCachedTileSource
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
3 deletions
MapView/Map/RMAbstractMercatorWebSource.h
MapView/Map/RMCachedTileSource.m
MapView/Map/RMTileSource.h
MapView/Map/RMAbstractMercatorWebSource.h
View file @
8e55ad4
...
...
@@ -50,13 +50,10 @@
-
(
void
)
networkOperationsNotification
:
(
NSNotification
*
)
notification
;
-
(
int
)
tileSideLength
;
-
(
float
)
minZoom
;
-
(
float
)
maxZoom
;
-
(
void
)
setMinZoom
:(
NSUInteger
)
aMinZoom
;
-
(
void
)
setMaxZoom
:(
NSUInteger
)
aMaxZoom
;
-
(
RMSphericalTrapezium
)
latitudeLongitudeBoundingBox
;
...
...
MapView/Map/RMCachedTileSource.m
View file @
8e55ad4
...
...
@@ -152,6 +152,16 @@
return
[
tileSource
tilePath
];
}
-
(
void
)
setMinZoom
:
(
NSUInteger
)
aMinZoom
{
[
tileSource
setMinZoom
:
aMinZoom
];
}
-
(
void
)
setMaxZoom
:
(
NSUInteger
)
aMaxZoom
{
[
tileSource
setMaxZoom
:
aMaxZoom
];
}
-
(
void
)
removeAllCachedImages
{
[
cache
removeAllCachedImages
];
...
...
MapView/Map/RMTileSource.h
View file @
8e55ad4
...
...
@@ -50,6 +50,9 @@
-
(
float
)
minZoom
;
-
(
float
)
maxZoom
;
-
(
void
)
setMinZoom
:(
NSUInteger
)
aMinZoom
;
-
(
void
)
setMaxZoom
:(
NSUInteger
)
aMaxZoom
;
-
(
RMSphericalTrapezium
)
latitudeLongitudeBoundingBox
;
-
(
void
)
didReceiveMemoryWarning
;
...
...
Please
register
or
login
to post a comment