QGIS API Documentation 3.34.0-Prizren (ffbdd678812)
|
Abstract base class for MapBox GL style sources. More...
#include <qgsmapboxglstyleconverter.h>
Public Member Functions | |
QgsMapBoxGlStyleAbstractSource (const QString &name) | |
Constructor for QgsMapBoxGlStyleAbstractSource. | |
virtual | ~QgsMapBoxGlStyleAbstractSource () |
QString | name () const |
Returns the source's name. | |
virtual bool | setFromJson (const QVariantMap &json, QgsMapBoxGlStyleConversionContext *context)=0 |
Sets the source's state from a json map. | |
virtual Qgis::MapBoxGlStyleSourceType | type () const =0 |
Returns the source type. | |
Abstract base class for MapBox GL style sources.
Definition at line 174 of file qgsmapboxglstyleconverter.h.
QgsMapBoxGlStyleAbstractSource::QgsMapBoxGlStyleAbstractSource | ( | const QString & | name | ) |
Constructor for QgsMapBoxGlStyleAbstractSource.
Definition at line 3632 of file qgsmapboxglstyleconverter.cpp.
|
virtualdefault |
QString QgsMapBoxGlStyleAbstractSource::name | ( | ) | const |
Returns the source's name.
Definition at line 3637 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.