QGIS API Documentation 3.41.0-Master (af5edcb665c)
|
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 4115 of file qgsmapboxglstyleconverter.cpp.
|
virtualdefault |
QString QgsMapBoxGlStyleAbstractSource::name | ( | ) | const |
Returns the source's name.
Definition at line 4120 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.