update fixtures

This commit is contained in:
Konstantin Käfer
2014-07-09 18:53:53 -07:00
parent d9bebe84a5
commit 18924e5e30
2 changed files with 5 additions and 6 deletions

View File

@@ -917,6 +917,9 @@ void StyleParser::parseRender(JSVal value, std::shared_ptr<StyleLayer> &layer) {
}
parseRenderProperty(value, render.translate_anchor, "text-translate-anchor", parseTranslateAnchorType);
} break;
default:
// There are no render properties for these layer types.
break;
}
}

View File

@@ -11,9 +11,7 @@
"layers": [
{
"id": "background",
"render": {
"type": "background"
},
"type": "background",
"style": {
"background-color": "red"
}
@@ -22,9 +20,7 @@
"id": "water",
"source": "mapbox",
"source-layer": "water",
"render": {
"type": "fill"
},
"type": "fill",
"style": {
"fill-color": "blue",
"fill-antialias": false