Merge pull request #71 from maputnik/property-groups-reorder

Reordered and renamed groups
This commit is contained in:
Lukas Martinelli 2017-01-12 17:47:34 +01:00 committed by GitHub
commit 63bba67750

View file

@ -2,7 +2,7 @@
"line": { "line": {
"groups": [ "groups": [
{ {
"title": "Paint", "title": "Paint properties",
"type": "properties", "type": "properties",
"fields": [ "fields": [
"line-opacity", "line-opacity",
@ -10,21 +10,21 @@
"line-width", "line-width",
"line-offset", "line-offset",
"line-blur", "line-blur",
"line-pattern" "line-pattern",
"line-translate",
"line-translate-anchor",
"line-gap-width"
] ]
}, },
{ {
"title": "Secondary", "title": "Layout properties",
"type": "properties", "type": "properties",
"fields": [ "fields": [
"line-translate",
"line-translate-anchor",
"line-cap", "line-cap",
"line-join", "line-join",
"line-miter-limit", "line-miter-limit",
"line-round-limit", "line-round-limit",
"line-dasharray", "line-dasharray"
"line-gap-width"
] ]
} }
] ]
@ -32,7 +32,7 @@
"background": { "background": {
"groups": [ "groups": [
{ {
"title": "Basic", "title": "Paint properties",
"type": "properties", "type": "properties",
"fields": [ "fields": [
"background-color", "background-color",
@ -45,7 +45,7 @@
"fill": { "fill": {
"groups": [ "groups": [
{ {
"title": "Basic", "title": "Paint properties",
"type": "properties", "type": "properties",
"fields": [ "fields": [
"fill-opacity", "fill-opacity",
@ -62,7 +62,7 @@
"fill-extrusion": { "fill-extrusion": {
"groups": [ "groups": [
{ {
"title": "Basic", "title": "Paint properties",
"type": "properties", "type": "properties",
"fields": [ "fields": [
"fill-extrusion-opacity", "fill-extrusion-opacity",
@ -79,29 +79,17 @@
"circle": { "circle": {
"groups": [ "groups": [
{ {
"title": "Basic", "title": "Paint properties",
"type": "properties", "type": "properties",
"fields": [ "fields": [
"circle-color", "circle-color",
"circle-opacity", "circle-opacity",
"circle-stroke-color", "circle-stroke-color",
"circle-stroke-opacity", "circle-stroke-opacity",
"circle-blur" "circle-blur",
]
},
{
"title": "Scale",
"type": "properties",
"fields": [
"circle-radius", "circle-radius",
"circle-stroke-width", "circle-stroke-width",
"circle-pitch-scale" "circle-pitch-scale",
]
},
{
"title": "Position",
"type": "properties",
"fields": [
"circle-translate", "circle-translate",
"circle-translate-anchor" "circle-translate-anchor"
] ]
@ -111,37 +99,25 @@
"symbol": { "symbol": {
"groups": [ "groups": [
{ {
"title": "Basic", "title": "General layout properties",
"type": "properties",
"fields": [
"text-field",
"text-font",
"text-color",
"text-size",
"text-line-height",
"text-halo-color",
"text-halo-width",
"text-halo-blur"
]
},
{
"title": "Placement",
"type": "properties", "type": "properties",
"fields": [ "fields": [
"symbol-placement", "symbol-placement",
"symbol-spacing", "symbol-spacing",
"text-padding", "symbol-avoid-edges"
"symbol-avoid-edges",
"text-allow-overlap",
"text-ignore-placement",
"text-translate",
"text-translate-anchor"
] ]
}, },
{ {
"title": "Text", "title": "Text layout properties",
"type": "properties", "type": "properties",
"fields": [ "fields": [
"text-field",
"text-font",
"text-size",
"text-line-height",
"text-padding",
"text-allow-overlap",
"text-ignore-placement",
"text-pitch-alignment", "text-pitch-alignment",
"text-rotation-alignment", "text-rotation-alignment",
"text-max-width", "text-max-width",
@ -157,7 +133,7 @@
] ]
}, },
{ {
"title": "Icon", "title": "Icon layout properties",
"type": "properties", "type": "properties",
"fields": [ "fields": [
"icon-allow-overlap", "icon-allow-overlap",
@ -171,7 +147,33 @@
"icon-rotate", "icon-rotate",
"icon-padding", "icon-padding",
"icon-keep-upright", "icon-keep-upright",
"icon-offset" "icon-offset"
]
},
{
"title": "Text paint properties",
"type": "properties",
"fields": [
"text-color",
"text-opacity",
"text-halo-color",
"text-halo-width",
"text-halo-blur",
"text-translate",
"text-translate-anchor"
]
},
{
"title": "Icon paint properties",
"type": "properties",
"fields": [
"icon-color",
"icon-opacity",
"icon-halo-color",
"icon-halo-width",
"icon-halo-blur",
"icon-translate",
"icon-translate-anchor"
] ]
} }
] ]
@ -179,7 +181,7 @@
"raster": { "raster": {
"groups": [ "groups": [
{ {
"title": "Basic", "title": "Paint properties",
"type": "properties", "type": "properties",
"fields": [ "fields": [
"raster-opacity", "raster-opacity",