diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2018-03-30 07:00:10 -0700 |
---|---|---|
committer | Minh Nguyễn <mxn@1ec5.org> | 2018-04-02 10:42:54 -0700 |
commit | 8fb65f09897fba1d82854935c98eca18aa5c17a5 (patch) | |
tree | 975e4c2f5b0002f0ef15f78dd457d031859c762d /platform/darwin/src/MGLRasterDEMSource.h | |
parent | 9faed7293b0585c329f4993b865b1fb820cfab65 (diff) | |
download | qtlocation-mapboxgl-8fb65f09897fba1d82854935c98eca18aa5c17a5.tar.gz |
[ios, macos] Clarified source options
Also moved options to the primary classes that use them.
Diffstat (limited to 'platform/darwin/src/MGLRasterDEMSource.h')
-rw-r--r-- | platform/darwin/src/MGLRasterDEMSource.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/platform/darwin/src/MGLRasterDEMSource.h b/platform/darwin/src/MGLRasterDEMSource.h index c53ca9867d..d439fe1645 100644 --- a/platform/darwin/src/MGLRasterDEMSource.h +++ b/platform/darwin/src/MGLRasterDEMSource.h @@ -3,6 +3,19 @@ #import "MGLRasterTileSource.h" /** + An `NSNumber` object containing an unsigned integer that specifies the encoding + formula for raster-dem tilesets. The integer corresponds to one of + the constants described in `MGLDEMEncoding`. + + The default value for this option is `MGLDEMEncodingMapbox`. + + This option cannot be represented in a TileJSON or style JSON file. It is used + with the `MGLRasterDEMSource` class and is ignored when creating an + `MGLRasterTileSource` or `MGLVectorTileSource` object. + */ +extern MGL_EXPORT const MGLTileSourceOption MGLTileSourceOptionDEMEncoding; + +/** `MGLRasterDEMSource` is a map content source that supplies rasterized <a href="https://en.wikipedia.org/wiki/Digital_elevation_model">digital elevation model</a> (DEM) tiles to be shown on the map. The location of and metadata about the |