MapLibre Native for Qt
Loading...
Searching...
No Matches
QMapLibre::FeatureProperty Struct Reference

Map feature property helper type. More...

#include <QMapLibre/Types>

Public Types

enum  Type { LayoutProperty = 1 , PaintProperty }
 Map feature property type. More...
 

Public Member Functions

 FeatureProperty (Type type_, QString name_, QVariant value_)
 

Public Attributes

Type type
 property type
 
QString name
 property name
 
QVariant value
 property value
 

Detailed Description

Map feature property helper type.

Represents map Feature properties via its type (LayoutProperty or PaintProperty), name and value.

Member Enumeration Documentation

◆ Type

Map feature property type.

This enum is used as basis for property type disambiguation in FeatureProperty.

Enumerator
LayoutProperty 

A layout property type.

PaintProperty 

A paint property type.

Constructor & Destructor Documentation

◆ FeatureProperty()

QMapLibre::FeatureProperty::FeatureProperty ( Type type_,
QString name_,
QVariant value_ )
inlineexplicit

Class constructor.