#import "MGLFoundation.h" #import "MGLRasterSource.h" /** `MGLRasterDEMSource` is a map content source that supplies rasterized digital elevation model (DEM) tiles to be shown on the map. The location of and metadata about the tiles are defined either by an option dictionary or by an external file that conforms to the TileJSON specification. A raster DEM source is added to an `MGLStyle` object along with one or more `MGLHillshadeStyleLayer` objects. Use a hillshade style layer to control the appearance of content supplied by the raster DEM source. Each raster-dem source defined by the style JSON file is represented at runtime by an `MGLRasterDEMSource` object that you can use to initialize new style layers. You can also add and remove sources dynamically using methods such as `-[MGLStyle addSource:]` and `-[MGLStyle sourceWithIdentifier:]`. Currently, raster DEM sources only support the format used by Mapbox Terrain-RGB. ### Example ```swift let terrainRGBURL = URL(string: "mapbox://mapbox.terrain-rgb")! let source = MGLRasterDEMSource(identifier: "hills", configurationURL: terrainRGBURL) mapView.style?.addSource(source) ``` */ MGL_EXPORT @interface MGLRasterDEMSource : MGLRasterSource @end