[core] change RapidJSON usage to use CrtAllocator and bump GeoJSON VT
This commit is contained in:
@@ -9,7 +9,7 @@ std::unique_ptr<StyleLayer> SymbolLayer::clone() const {
|
||||
return std::make_unique<SymbolLayer>(*this);
|
||||
}
|
||||
|
||||
void SymbolLayer::parseLayout(const JSVal& value) {
|
||||
void SymbolLayer::parseLayout(const JSValue& value) {
|
||||
layout.placement.parse("symbol-placement", value);
|
||||
layout.spacing.parse("symbol-spacing", value);
|
||||
layout.avoidEdges.parse("symbol-avoid-edges", value);
|
||||
@@ -45,7 +45,7 @@ void SymbolLayer::parseLayout(const JSVal& value) {
|
||||
layout.text.optional.parse("text-optional", value);
|
||||
}
|
||||
|
||||
void SymbolLayer::parsePaints(const JSVal& layer) {
|
||||
void SymbolLayer::parsePaints(const JSValue& layer) {
|
||||
paint.icon.opacity.parse("icon-opacity", layer);
|
||||
paint.icon.color.parse("icon-color", layer);
|
||||
paint.icon.haloColor.parse("icon-halo-color", layer);
|
||||
|
||||
Reference in New Issue
Block a user