377 Q_ENUM( PropertyType )
529 static
void parseSymbolLayer( const QVariantMap &jsonLayer,
546 static
bool parseSymbolLayerAsRenderer( const QVariantMap &jsonLayer,
604 const QVariantMap &conversionMap,
605 QString *defaultString
SIP_OUT =
nullptr );
643 const QVariantMap &conversionMap,
644 QString *defaultString
SIP_OUT =
nullptr );
663 int maxOpacity = 255, QColor *defaultColor
SIP_OUT =
nullptr,
double *defaultNumber
SIP_OUT =
nullptr );
672 int maxOpacity = 255, QColor *defaultColor
SIP_OUT =
nullptr,
double *defaultNumber
SIP_OUT =
nullptr );
680 int maxOpacity = 255, QColor *defaultColor
SIP_OUT =
nullptr,
double *defaultNumber
SIP_OUT =
nullptr );
714 static
void colorAsHslaComponents( const QColor &color,
int &hue,
int &saturation,
int &lightness,
int &alpha );
722 static QString interpolateExpression(
double zoomMin,
double zoomMax, QVariant valueMin, QVariant valueMax,
double base,
double multiplier = 1,
QgsMapBoxGlStyleConversionContext *contextPtr = 0 );
729 static Qt::PenCapStyle parseCapStyle( const QString &style );
736 static Qt::PenJoinStyle parseJoinStyle( const QString &style );
759 static QString retrieveSpriteAsBase64( const QVariant &value,
QgsMapBoxGlStyleConversionContext &context, QSize &spriteSize, QString &spriteProperty, QString &spriteSizeProperty );
771 static QString processLabelField(
const QString &
string,
bool &isExpression );
781 static bool numericArgumentsOnly(
const QVariant &bottomVariant,
const QVariant &topVariant,
double &bottom,
double &top );
784 QStringList mWarnings;
786 std::unique_ptr< QgsVectorTileRenderer > mRenderer;
787 std::unique_ptr< QgsVectorTileLabeling > mLabeling;
789 QList< QgsMapBoxGlStyleAbstractSource * > mSources;
790 QList< QgsMapBoxGlStyleRasterSubLayer> mRasterSubLayers;
Context for a MapBox GL style conversion operation.
QStringList warnings() const
Returns a list of warning messages generated during the conversion.
void clearWarnings()
Clears the list of warning messages.