QGIS API Documentation 3.40.0-Bratislava (b56115d8743)
|
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 4099 of file qgsmapboxglstyleconverter.cpp.
|
virtualdefault |
QString QgsMapBoxGlStyleAbstractSource::name | ( | ) | const |
Returns the source's name.
Definition at line 4104 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.