[core] Adopt a strict naming convention for style properties
This will allow code to be generated from the style specification.
This commit is contained in:
@@ -497,7 +497,7 @@ std::vector<std::string> StyleParser::fontStacks() const {
|
||||
|
||||
for (const auto& layer : layers) {
|
||||
if (layer->is<SymbolLayer>()) {
|
||||
LayoutProperty<std::string> property = layer->as<SymbolLayer>()->layout.text.font;
|
||||
LayoutProperty<std::string> property = layer->as<SymbolLayer>()->layout.textFont;
|
||||
if (property.parsedValue) {
|
||||
for (const auto& stop : property.parsedValue->getStops()) {
|
||||
result.insert(stop.second);
|
||||
|
||||
Reference in New Issue
Block a user