Commit Graph

94 Commits

Author SHA1 Message Date
Konstantin Käfer
36181b0922 update symbol placement to be more like js 2014-08-04 18:24:22 +02:00
Konstantin Käfer
fa3a41136c merge text and icon buckets/styles
(we're not yet placing together!)
2014-07-29 18:27:59 +02:00
Konstantin Käfer
270c24a9a8 add symbol* properties/keys 2014-07-29 12:09:22 +02:00
Konstantin Käfer
3141b8b1f7 refactor source information into SourceInfo object 2014-07-17 15:37:18 -07:00
Konstantin Käfer
c01143a731 parse min-zoom/max-zoom values
refs mapbox/mapbox-gl-style-spec#65
2014-07-17 14:54:22 -07:00
Konstantin Käfer
68f595a32b consolidate functions to only use stops
refs mapbox/mapbox-gl-style-spec#96
2014-07-17 14:32:35 -07:00
Konstantin Käfer
4ea281c750 rename llmr => mbgl 2014-07-16 18:53:56 -07:00
Konstantin Käfer
a1d7da71c6 add more comparison tests 2014-07-16 18:26:35 -07:00
Konstantin Käfer
bdc97d55d2 add enum class to unify parsing/stringification 2014-07-14 16:33:02 -07:00
Mike Morris
4590adc115 break out StyleSource from Source, move getActiveSources and
updateSources into Map::Map, move getAccessToken from Style to Map

Conflicts:
	include/llmr/style/style.hpp
	src/map/source.cpp
	src/style/style_layer.cpp
	src/style/style_parser.cpp
2014-07-10 17:12:02 -07:00
Konstantin Käfer
9846cb75f4 remove *-enabled
refs mapbox/mapbox-gl-style-spec#94
2014-07-10 15:51:35 -07:00
Konstantin Käfer
f519625ed2 allow specifying a base parameter for exponential functions
refs mapbox/mapbox-gl-style-spec#4
2014-07-10 15:26:35 -07:00
Konstantin Käfer
a8e71bcb7b change line width and add line-width test 2014-07-10 14:54:43 -07:00
Konstantin Käfer
795496053b Merge branch 'master' into access_token
Conflicts:
	src/map/source.cpp
2014-07-10 10:46:35 -07:00
Konstantin Käfer
18924e5e30 update fixtures 2014-07-09 18:53:53 -07:00
Konstantin Käfer
d9bebe84a5 move render type to layer top level
refs https://github.com/mapbox/mapbox-gl-style-spec/issues/80
2014-07-09 18:43:28 -07:00
Justin R. Miller
98a415416a move to per-map access token 2014-07-09 17:18:36 -07:00
John Firebaugh
c52b2ba7a8 Support for text-transform
This is 1-1 locale-unaware text transform using std::ctype.
If we want a transform that cares for things like ß -> SS,
we need to switch to boost::locale.
2014-07-03 14:06:28 -07:00
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