MapLibre Native Core
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
mbgl::style::RasterDEMSource Class Reference

#include <raster_dem_source.hpp>

Inheritance diagram for mbgl::style::RasterDEMSource:
mbgl::style::RasterSource

Public Member Functions

 RasterDEMSource (std::string id, variant< std::string, Tileset > urlOrTileset, uint16_t tileSize)
 
bool supportsLayerType (const mbgl::style::LayerTypeInfo *) const override
 
- Public Member Functions inherited from mbgl::style::RasterSource
 RasterSource (std::string id, variant< std::string, Tileset > urlOrTileset, uint16_t tileSize, SourceType sourceType=SourceType::Raster)
 
 ~RasterSource () override
 
const variant< std::string, Tileset > & getURLOrTileset () const
 
std::optional< std::string > getURL () const
 
uint16_t getTileSize () const
 
const Impl & impl () const
 
void loadDescription (FileSource &) final
 
bool supportsLayerType (const mbgl::style::LayerTypeInfo *) const override
 
mapbox::base::WeakPtr< Source > makeWeakPtr () final
 

Additional Inherited Members

- Protected Member Functions inherited from mbgl::style::RasterSource
Mutable< Source::Impl > createMutable () const noexcept final
 

Detailed Description

Definition at line 13 of file raster_dem_source.hpp.

Constructor & Destructor Documentation

◆ RasterDEMSource()

mbgl::style::RasterDEMSource::RasterDEMSource ( std::string  id,
variant< std::string, Tileset urlOrTileset,
uint16_t  tileSize 
)

Member Function Documentation

◆ supportsLayerType()

bool mbgl::style::RasterDEMSource::supportsLayerType ( const mbgl::style::LayerTypeInfo *  ) const
override

The documentation for this class was generated from the following file: