summaryrefslogtreecommitdiff
path: root/platform/darwin/src
diff options
context:
space:
mode:
Diffstat (limited to 'platform/darwin/src')
-rw-r--r--platform/darwin/src/MGLTileSource.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/platform/darwin/src/MGLTileSource.h b/platform/darwin/src/MGLTileSource.h
index dcec6dcda3..ab43ac53ba 100644
--- a/platform/darwin/src/MGLTileSource.h
+++ b/platform/darwin/src/MGLTileSource.h
@@ -161,14 +161,14 @@ extern MGL_EXPORT const MGLTileSourceOption MGLTileSourceOptionDEMEncoding;
typedef NS_ENUM(NSUInteger, MGLDEMEncoding) {
/**
- Raster tiles generated with the Mapbox encoding formula where
- elevaion = -10000 + ((R * 256 * 256 + G * 256 + B) * 0.1)
+ Raster tiles generated with the Mapbox encoding formula.
+ See more details here: https://www.mapbox.com/help/access-elevation-data/#mapbox-terrain-rgb
*/
MGLDEMEncodingMapbox = 0,
/**
- Raster tiles generated with the Mapzen Terrarium encoding formula where
- elevaion = (R * 256 + G + B / 256) - 32768
+ Raster tiles generated with the Mapzen Terrarium encoding formula.
+ See more details here: https://aws.amazon.com/public-datasets/terrain/
*/
MGLDEMEncodingTerrarium
};