diff options
author | Molly Lloyd <molly@mapbox.com> | 2018-02-21 13:42:09 -0800 |
---|---|---|
committer | Molly Lloyd <molly@mapbox.com> | 2018-02-21 13:42:09 -0800 |
commit | d842c90f9410914c69244ca2073a2bc9085fb882 (patch) | |
tree | dcc8ef2768288b48ebafa72c2147d0d98ef4dc64 | |
parent | 611ea729d87931d0a7baec3ad280b6167349726a (diff) | |
download | qtlocation-mapboxgl-upstream/encoding-param-darwin.tar.gz |
link out to dem encoding docsupstream/encoding-param-darwin
-rw-r--r-- | platform/darwin/src/MGLTileSource.h | 8 |
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 }; |