MapLibre Native for Qt
|
A QML helper item to be attached to a MapView
using MapLibre.style
property.
More...
Public Member Functions | |
void | addParameter (StyleParameter parameter) |
Add a parameter programatically. | |
void | removeParameter (StyleParameter parameter) |
Remove a parameter programatically. | |
void | clearParameters () |
Clear all parameters programatically. | |
A QML helper item to be attached to a MapView
using MapLibre.style
property.
This item does not have any properties and expect to have StyleParameter implementations as children. See also SourceParameter and LayerParameter.
Parameters can also be manipulated programatically using addParameter, removeParameter and clearParameters functions.
void Style::addParameter | ( | StyleParameter | parameter | ) |
Add a parameter programatically.
parameter | The parameter to be added |
void Style::removeParameter | ( | StyleParameter | parameter | ) |
Remove a parameter programatically.
parameter | The parameter to be removed |