RMAbstractWebMapSource Class Reference
Inherits from | RMAbstractMercatorTileSource : NSObject |
Declared in | RMAbstractWebMapSource.h |
Overview
Abstract class representing a network-based location for retrieving map tiles for display. Developers can create subclasses in order to provide custom web addresses for tile downloads.
Tasks
Configuring Network Behavior
-
retryCount
property -
requestTimeoutSeconds
property
Providing Tile Images
Properties
Instance Methods
URLForTile:
Provide the URL for a given tile.
- (NSURL *)URLForTile:(RMTile)tile
Parameters
- tile
A specific map tile.
Return Value
A URL to a tile image to download.
Discussion
Provide the URL for a given tile.
Declared In
RMAbstractWebMapSource.h
URLsForTile:
Provide multiple URLs for a given tile. Each URL is fetched in turn and composited together before placement on the map. URLs are ordered from the bottom layer to the top layer.
- (NSArray *)URLsForTile:(RMTile)tile
Parameters
- tile
A specific map tile.
Return Value
An array of tile URLs to download, listed bottom to top.
Discussion
Provide multiple URLs for a given tile. Each URL is fetched in turn and composited together before placement on the map. URLs are ordered from the bottom layer to the top layer.
Declared In
RMAbstractWebMapSource.h