Created
September 12, 2013 20:33
-
-
Save mousebird/6543346 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** The Elevation Source Delegate provides elevation data on demand for | |
a given tile. It returns a MaplyElevationChunk or nil if no data | |
is available. Your delegate may be called on a random thread, act accordingly. | |
*/ | |
@protocol MaplyElevationSourceDelegate | |
/// Coordinate system we're providing the data in (and extents) | |
- (MaplyCoordinateSystem *)getCoordSystem; | |
/// Minimum zoom level (e.g. 0) | |
- (int)minZoom; | |
/// Maximum zoom level (e.g. 17) | |
- (int)maxZoom; | |
/// Return an elevation chunk (or nil) for a given tile | |
- (MaplyElevationChunk *)elevForTile:(MaplyTileID)tileID; | |
@end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment