Commit Graph

126 Commits

Author SHA1 Message Date
Konstantin Käfer
59226af665 correctly detect duplicate layers 2014-07-03 12:30:42 +02:00
Konstantin Käfer
2fb634269f tuple is explicit in gcc's stl 2014-07-03 01:41:38 -07:00
Konstantin Käfer
4856728022 parse function stops according to spec 2014-07-02 17:32:29 +02:00
Konstantin Käfer
ac57125bd5 fix background painting 2014-07-02 17:31:55 +02:00
Konstantin Käfer
415214d759 correctly parse array properties like *-translate 2014-07-02 17:31:24 +02:00
Konstantin Käfer
cc9dab4024 parse rasterize values as well 2014-07-02 15:57:52 +02:00
Konstantin Käfer
af87fb6c26 load glyphset url from stylesheet 2014-07-02 12:10:09 +02:00
Konstantin Käfer
e93803ac80 read sprite image from style 2014-07-02 11:38:36 +02:00
Konstantin Käfer
18d898fae7 refactor functions 2014-06-30 16:52:39 +02:00
Konstantin Käfer
93cd4c5c7b move StyleLayerGroup and PropertyTransition to their own files 2014-06-30 11:46:03 +02:00
Konstantin Käfer
48019ae85c make more members of StyleLayer const 2014-06-27 18:39:42 +02:00
Konstantin Käfer
881c0f1412 more docs + remove StyleLayer::Ptr typedef 2014-06-27 18:01:28 +02:00
Konstantin Käfer
9761140deb names are transiton-*, not *-transition 2014-06-27 17:15:16 +02:00
Konstantin Käfer
e77b3d71c4 add raster enabled/opacity 2014-06-27 17:13:21 +02:00
Konstantin Käfer
0e9e297275 more refactoring and fallback values 2014-06-27 16:59:42 +02:00
Konstantin Käfer
d75f0075f3 even more refactoring 2014-06-27 16:42:44 +02:00
Konstantin Käfer
ad4497c909 reorganize properties 2014-06-27 16:19:43 +02:00
Konstantin Käfer
38d9cd0d4f use class ids rather than names for storing styles 2014-06-27 15:57:47 +02:00
Konstantin Käfer
aff667d742 add filter expressions 2014-06-26 15:04:18 +02:00
Konstantin Käfer
ba4294ae0c saving current state 2014-06-23 18:05:25 +02:00
Konstantin Käfer
6b0f64dbfd move to namespace to fix compile error on linux/gcc 2014-06-16 17:50:23 +02:00
Konstantin Käfer
3cd1b8f07c template the parser 2014-06-16 17:00:25 +02:00
Konstantin Käfer
e3b9e9abf6 make code more concise 2014-06-16 16:48:21 +02:00
Konstantin Käfer
4a41b02cef move to std::map for classes 2014-06-16 15:47:37 +02:00
Konstantin Käfer
71d2b230a1 separate bucket render properties and change naming 2014-06-16 11:49:11 +02:00
Konstantin Käfer
dd4c8a67ba add explicit true type == "no filter" 2014-06-02 11:14:09 +02:00
Konstantin Käfer
99b6a700ef move both variant options to recursive_wrapper 2014-06-02 11:14:09 +02:00
Konstantin Käfer
606ad56220 implement nested expression parsing 2014-06-02 11:14:09 +02:00
Konstantin Käfer
3bc5e03253 simple expression support 2014-06-02 11:14:09 +02:00
Konstantin Käfer
67bbcd5334 allow setting prerender state with a function too 2014-06-01 18:12:44 +02:00
Konstantin Käfer
1be972eb15 Allow property functions for prerender properties, but tie them to the tile's zoom level instead of the map zoom level
fixes #253
2014-06-01 17:43:12 +02:00
Dane Springmeyer
5f03cc1595 [hardening] fix double const& declaration 2014-05-30 13:41:07 -07:00
Dane Springmeyer
a944018367 [hardening] must return from non void function 2014-05-30 13:27:48 -07:00
Ansis Brammanis
9ac55e0d74 add text letterSpacing 2014-05-30 04:02:23 -04:00
Ansis Brammanis
7c653895c6 translate as a text bucket property
When used, text is translated before being checked for collisions.
2014-05-30 03:50:25 -04:00
Ansis Brammanis
41c310c762 add verticalAlign for text
Default is center. Other options are "top" and "bottom"
2014-05-30 03:11:57 -04:00
Mike Morris
3442403e67 parse maxWidth, lineHeight and alignment, pass to FontStack::getShaping 2014-05-30 00:07:22 -04:00
Konstantin Käfer
192b5a30e4 make PropertyTransitions optional 2014-05-28 10:49:56 +02:00
Konstantin Käfer
4074db512f fix stylesheet parse typo
refs #192
2014-05-28 06:34:29 +02:00
Konstantin Käfer
9477097f0f Revert "refs #253: support blur function property values"
This reverts commit 34b90476b4.
2014-05-27 09:59:35 +02:00
Justin R. Miller
34b90476b4 refs #253: support blur function property values 2014-05-26 23:48:50 -07:00
Konstantin Käfer
4b8e3faa70 consolidate stylesheet cascading 2014-05-26 12:43:49 +02:00
Konstantin Käfer
e506d6bcdd generalize stylesheet parse function 2014-05-26 12:30:27 +02:00
Konstantin Käfer
7d767f518b add keys to stylesheet 2014-05-23 13:38:59 +02:00
Konstantin Käfer
ce2270eafc use boost optional to mark initialized values 2014-05-23 13:14:11 +02:00
Justin R. Miller
aa92e92595 support for style transitions 2014-05-22 12:46:53 -07:00
Konstantin Käfer
13939b26d9 first shot at composited blending
still missing:
- stencil+depth mask
- alpha compositing
2014-05-21 10:55:09 +02:00
Konstantin Käfer
017145f052 show style parse warning if the flag is set 2014-05-21 10:53:40 +02:00
Konstantin Käfer
575491e65c make sure we also parse classes for nested layers 2014-05-21 10:53:40 +02:00
Konstantin Käfer
752661ae6e allow functions to be referenced from constants
fixes #224
2014-05-21 10:29:36 +02:00