summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMolly Lloyd <molly@mapbox.com>2018-02-21 13:42:09 -0800
committerMolly Lloyd <molly@mapbox.com>2018-02-21 13:42:09 -0800
commitd842c90f9410914c69244ca2073a2bc9085fb882 (patch)
treedcc8ef2768288b48ebafa72c2147d0d98ef4dc64
parent611ea729d87931d0a7baec3ad280b6167349726a (diff)
downloadqtlocation-mapboxgl-upstream/encoding-param-darwin.tar.gz
link out to dem encoding docsupstream/encoding-param-darwin
-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
};