QGIS API Documentation 3.30.0-'s-Hertogenbosch (f186b8efe0)
|
Abstract base class for MapBox GL style sources. More...
#include <qgsmapboxglstyleconverter.h>
Public Member Functions | |
QgsMapBoxGlStyleAbstractSource (const QString &name) | |
Constructor for QgsMapBoxGlStyleAbstractSource. More... | |
virtual | ~QgsMapBoxGlStyleAbstractSource () |
QString | name () const |
Returns the source's name. More... | |
virtual bool | setFromJson (const QVariantMap &json, QgsMapBoxGlStyleConversionContext *context)=0 |
Sets the source's state from a json map. More... | |
virtual Qgis::MapBoxGlStyleSourceType | type () const =0 |
Returns the source type. More... | |
Abstract base class for MapBox GL style sources.
Definition at line 173 of file qgsmapboxglstyleconverter.h.
QgsMapBoxGlStyleAbstractSource::QgsMapBoxGlStyleAbstractSource | ( | const QString & | name | ) |
Constructor for QgsMapBoxGlStyleAbstractSource.
Definition at line 3602 of file qgsmapboxglstyleconverter.cpp.
|
virtualdefault |
QString QgsMapBoxGlStyleAbstractSource::name | ( | ) | const |
Returns the source's name.
Definition at line 3607 of file qgsmapboxglstyleconverter.cpp.
|
pure virtual |
Sets the source's state from a json map.
Implemented in QgsMapBoxGlStyleRasterSource.
|
pure virtual |
Returns the source type.
Implemented in QgsMapBoxGlStyleRasterSource.