John Firebaugh
fd58861fcd
Change StyleBucket::source to indirect reference
...
This eliminates a reference loop: VectorTileData holds StyleLayers which
hold StyleBuckets which held Sources which hold VectorTileDatas. This
breaks the StyleBucket -> Source link in favor of manually resolving the
reference where necessary.
2015-06-17 17:07:16 -07:00
Justin R. Miller
bd0bf294bf
squash of #1655 : shape annotations support for core & iOS
2015-06-15 18:30:39 -07:00
Konstantin Käfer
f4707f72e0
Replace mbgl::util::make_unique<> with std::make_unique<>
2015-05-26 17:57:38 +02:00
Dane Springmeyer
74604af9c5
fix compile with clang-3.6
2015-05-01 11:00:01 -07:00
Konstantin Käfer
2b633cc51c
build on Travis' sudo: false infrastructure
2015-04-28 10:43:13 +02:00
Ansis Brammanis
65306490dd
icon-rotate is not a paint property
...
issue #1173
2015-04-24 15:34:53 -07:00
John Firebaugh
7e0e55e542
Eliminate StyleSource
...
Fixes #695
2015-04-06 10:30:01 -07:00
John Firebaugh
9331acf8e6
Add typedefs for std::chrono::steady_clock types
2015-04-02 12:28:12 +02:00
John Firebaugh
5264982ba7
Eliminate StyleLayerGroup
2015-04-01 11:14:20 -07:00
Konstantin Käfer
220ebf61dd
replace iterator variable types with auto
2015-04-01 16:42:42 +02:00
Konstantin Käfer
1b0564a850
normalize font stack
...
- split all fontstack names at the comma character, trim, the join
- capitalization is important and may not be changed
2015-03-30 16:31:16 +02:00
Ansis Brammanis
f14111b82a
make 1.0 the default base for all types
2015-03-24 16:30:17 -07:00
Konstantin Käfer
f73dfc73f1
make more things const and refs, and add mutexes
2015-03-20 13:14:00 +01:00
Justin R. Miller
e049ce6df1
refs #893 #992 : point annotations API
2015-03-17 17:30:24 -07:00
Thiago Marcos P. Santos
124b49562d
Get rid of printf and cout by using Log::*
...
Use our logging system that will route the message accordingly on
the target platform.
Fixes #613
2015-03-12 14:19:32 +02:00
John Firebaugh
9897ae74ec
Fix satellite style contour rendering
2015-03-08 12:44:47 -07:00
Konstantin Käfer
e00bae4f1c
lock the StyleBucket to avoid crashing
...
stopgap until we have a solution that doesn't mutate the style objects while parsing a tile
2015-03-06 15:42:34 +01:00
Konstantin Käfer
c07fa06994
rename StyleBucket* => StyleLayout*
...
and remove a few unused variables
refs #881
2015-02-17 18:27:51 -08:00
Konstantin Käfer
89c0ff5f39
make StyleBucket mutable
...
refs #881
2015-02-17 18:27:51 -08:00
Ansis Brammanis
fdc9283c5c
fix raster-brightness
2015-02-09 12:03:47 -08:00
Ansis Brammanis
97f19e8b84
support constants within dasharrays
2015-02-09 11:48:36 -08:00
Ansis Brammanis
5eb08baf14
tweak style parsing error messages
2015-02-05 18:33:00 -08:00
Ansis Brammanis
fe5b618484
fix compilation errors
2015-02-05 17:42:51 -08:00
Ansis Brammanis
968d6812db
make raster-brightness two separate properties
2015-02-05 17:35:13 -08:00
Ansis Brammanis
f99bd1c6ec
switch to functions of arrays (from arrays of fns)
...
for properties like *-translate, *-offset
https://github.com/mapbox/mapbox-gl-style-spec/issues/237
2015-02-05 17:30:34 -08:00
Ansis Brammanis
3a8aaad6a7
make everything a function
2015-02-05 16:46:13 -08:00
Ansis Brammanis
6e95c3b2e1
fix compilation on android
2015-02-04 19:47:31 -08:00
Ansis Brammanis
f07de8dd23
make pattern and dasharray properties use duration
...
from "*-transition" properties
2015-02-04 18:46:47 -08:00
Ansis Brammanis
a49737e542
fix durations by making them milliseconds
2015-02-04 13:51:52 -08:00
Ansis Brammanis
4ec0028856
switch from low/high to from/to
2015-02-04 12:08:29 -08:00
Ansis Brammanis
93b07c3675
rename FadedFunction to PiecewiseConstant function
2015-02-04 11:36:31 -08:00
Ansis Brammanis
465b1ac3eb
Merge branch 'master' into pattern-functions
...
Conflicts:
src/mbgl/renderer/painter.cpp
src/mbgl/renderer/painter.hpp
src/mbgl/renderer/painter_fill.cpp
src/mbgl/renderer/painter_line.cpp
src/mbgl/style/style_layer.cpp
src/mbgl/style/style_layer.hpp
src/mbgl/style/style_layer_group.cpp
src/mbgl/style/style_layer_group.hpp
2015-02-04 11:05:36 -08:00
Lauren Budorick
895d90409b
Add functions for layout properties.
2015-02-03 16:09:58 -08:00
Leith Bade
89bbd29278
Use std::chrono
2015-02-04 09:39:25 +11:00
Ansis Brammanis
6f5c6b58b4
use faded pattern functions for dasharrays
2015-02-02 17:57:12 -08:00
Ansis Brammanis
322f46a5db
implement functions for line-image
2015-02-02 17:57:12 -08:00
Ansis Brammanis
b3ca6fcca6
implement functions for background-image
2015-02-02 16:23:10 -08:00
Ansis Brammanis
d532824aec
implement functions for patterns
...
It introduces a new function type, FadedStopsFunction, that transitions
between the stops values instead of interpolating between them.
2015-02-02 14:46:48 -08:00
John Firebaugh
7694b0c1ec
Merge pull request #771 from mapbox/visibility
...
Add visibility property for v7
2015-01-26 11:09:16 -08:00
Lauren Budorick
66355b7d86
Add visibility property for v7.
2015-01-22 17:11:07 -08:00
John Firebaugh
a8b6e3dc71
Merge remote-tracking branch 'origin/dash-3' into v7
2015-01-22 13:06:30 -08:00
John Firebaugh
8e23e3a3e8
Remove support for prerendered layers
...
https://github.com/mapbox/mapbox-gl-style-spec/issues/232
2015-01-21 18:41:17 -08:00
Ansis Brammanis
221d256bea
remove unused
2015-01-15 20:44:10 -05:00
Ansis Brammanis
c472528f9b
support functions of dash arrays
2015-01-15 17:41:55 -05:00
Ansis Brammanis
2c615b613c
support dash arrays that are any length
2015-01-14 22:24:44 -05:00
Ansis Brammanis
84e9dbdc09
remove unused code
2015-01-14 22:02:22 -05:00
Konstantin Käfer
abafb52f37
make most headers private
2014-12-04 20:02:50 +01:00