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