[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:
John Firebaugh
2016-04-21 13:05:10 -07:00
parent 2ea450205d
commit b2beeda50b
27 changed files with 558 additions and 531 deletions

View File

@@ -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);