KOSMIndoorMap
mapcssstyle.cpp
57 { OSM::TagKey{}, "highway", MapCSSObjectType::Area, std::span<const char* const>{way_rule_highway_values}},
58 { OSM::TagKey{}, "natural", MapCSSObjectType::Area, std::span<const char* const>{way_rule_natural_values}},
118 auto it = std::lower_bound(d->m_wayTypeRules.begin(), d->m_wayTypeRules.end(), tag.key, [](const auto &rule, const auto &key) {
128 state.objectType = (*it).type == MapCSSObjectType::Line ? MapCSSObjectType::Area :MapCSSObjectType::Line;
Result of MapCSS stylesheet evaluation for all layer selectors.
Definition mapcssresult.h:100
void clear()
Reset result state from a previous evaluation, while retaining previously allocated resource for reus...
Definition mapcssresult.cpp:246
void evaluate(const MapCSSState &state, MapCSSResult &result) const
Evaluates the style sheet for a given state state (OSM element, view state, element state,...
Definition mapcssstyle.cpp:143
LayerSelectorKey layerKey(const char *layerName) const
Look up a layer selector key for the given name, if it exists.
Definition mapcssstyle.cpp:172
ClassSelectorKey classKey(const char *className) const
Look up a class selector key for the given name, if it exists.
Definition mapcssstyle.cpp:167
void compile(OSM::DataSet &dataSet)
Optimizes style sheet rules for application against dataSet.
Definition mapcssstyle.cpp:76
void initializeState(MapCSSState &state) const
Initializes the evaluation state.
Definition mapcssstyle.cpp:91
void evaluateCanvas(const MapCSSState &state, MapCSSResult &result) const
Evaluate canvas style rules.
Definition mapcssstyle.cpp:152
TagKey tagKey(const char *keyName) const
Look up a tag key for the given tag name, if it exists.
Definition datatypes.cpp:38
OSM-based multi-floor indoor maps for buildings.
Definition locationqueryoverlayproxymodel.h:20
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:06:15 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:06:15 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.