[core] change RapidJSON usage to use CrtAllocator and bump GeoJSON VT
This commit is contained in:
@@ -9,14 +9,14 @@ std::unique_ptr<StyleLayer> LineLayer::clone() const {
|
||||
return std::make_unique<LineLayer>(*this);
|
||||
}
|
||||
|
||||
void LineLayer::parseLayout(const JSVal& value) {
|
||||
void LineLayer::parseLayout(const JSValue& value) {
|
||||
layout.cap.parse("line-cap", value);
|
||||
layout.join.parse("line-join", value);
|
||||
layout.miterLimit.parse("line-miter-limit", value);
|
||||
layout.roundLimit.parse("line-round-limit", value);
|
||||
}
|
||||
|
||||
void LineLayer::parsePaints(const JSVal& layer) {
|
||||
void LineLayer::parsePaints(const JSValue& layer) {
|
||||
paint.opacity.parse("line-opacity", layer);
|
||||
paint.color.parse("line-color", layer);
|
||||
paint.translate.parse("line-translate", layer);
|
||||
|
||||
Reference in New Issue
Block a user