forked from organicmaps/organicmaps
First draft of styles. Only needed params, without additional staff.
This commit is contained in:
parent
9028d19b12
commit
bf9a5c0947
1 changed files with 47 additions and 0 deletions
47
indexer/drawing_rules.proto
Normal file
47
indexer/drawing_rules.proto
Normal file
|
@ -0,0 +1,47 @@
|
|||
|
||||
message ColorProto
|
||||
{
|
||||
required int32 color = 1;
|
||||
optional uint8 opacity = 2; // opacity : 0 - completly invisible, 255 - completly visible
|
||||
}
|
||||
|
||||
message DashDotProto
|
||||
{
|
||||
repeated double dd = 1;
|
||||
}
|
||||
|
||||
message LineRuleProto
|
||||
{
|
||||
required double width = 1;
|
||||
required ColorProto color = 2;
|
||||
optional DashDotProto dashdot = 4;
|
||||
}
|
||||
|
||||
message AreaRuleProto
|
||||
{
|
||||
required ColorProto color = 1;
|
||||
optional LineRuleProto border = 3;
|
||||
}
|
||||
|
||||
message SymbolRuleProto
|
||||
{
|
||||
required string name = 1;
|
||||
}
|
||||
|
||||
message CaptionRuleProto
|
||||
{
|
||||
required int32 height = 1;
|
||||
optional ColorProto color = 2;
|
||||
optional ColorProto stroke_color = 3;
|
||||
}
|
||||
|
||||
message CircleRuleProto
|
||||
{
|
||||
required double rad = 1;
|
||||
required ColorProto color = 2;
|
||||
optional LineRuleProto border = 3;
|
||||
}
|
||||
|
||||
// PathTextRule is same as CaptionRule
|
||||
|
||||
// WayMarkerRule not used yet
|
Loading…
Add table
Reference in a new issue