diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2014-01-27 14:07:56 +0100 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2014-01-27 14:07:56 +0100 |
commit | e2dbcc95b5cf171e99e237513998d17a0c70f3ad (patch) | |
tree | bc7fc34b47402aaa9303c8d038d2158f1b7b7aa3 /proto/style.proto | |
parent | 2a6e4597e29d440e03416b0cf9d47da4eb2ff781 (diff) | |
download | qtlocation-mapboxgl-e2dbcc95b5cf171e99e237513998d17a0c70f3ad.tar.gz |
draw fills according to the style
Diffstat (limited to 'proto/style.proto')
-rw-r--r-- | proto/style.proto | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/proto/style.proto b/proto/style.proto index c8926c767c..d5f1c6c9f5 100644 --- a/proto/style.proto +++ b/proto/style.proto @@ -43,10 +43,10 @@ message bucket { optional float font_size = 10; } -message structure { +message layer { required string name = 1; optional string bucket_name = 2; - repeated structure child_layer = 3; + repeated layer child_layer = 3; } message width { @@ -54,7 +54,7 @@ message width { repeated float value = 2 [ packed = true ]; } -message layer { +message layer_style { required string layer_name = 1; optional fixed32 color = 2; // rgba (=> rgb << 8 | 0xFF for opaque!) optional bool antialias = 3; @@ -63,12 +63,12 @@ message layer { message class { required string name = 1; - repeated layer layer = 2; + repeated layer_style layer = 2; } // root level object message style { repeated bucket bucket = 1; - repeated structure structure = 2; + repeated layer layer = 2; repeated class class = 3; } |