Konstantin Käfer
9846cb75f4
remove *-enabled
...
refs mapbox/mapbox-gl-style-spec#94
2014-07-10 15:51:35 -07:00
Konstantin Käfer
409a6ec6f4
rename timestamp name to avoid conflicts
2014-07-01 05:20:03 -07:00
Konstantin Käfer
b9fbb4f80b
make text painter respect text-opacity
2014-07-01 12:49:53 +02:00
Konstantin Käfer
d75f0075f3
even more refactoring
2014-06-27 16:42:44 +02:00
Konstantin Käfer
6d9de75732
rename time => timestamp to avoid naming conflicts
2014-06-27 15:52:45 +02:00
Konstantin Käfer
79643d973a
fix matrices
2014-06-24 19:01:12 +02:00
Konstantin Käfer
ba4294ae0c
saving current state
2014-06-23 18:05:25 +02:00
Konstantin Käfer
71d2b230a1
separate bucket render properties and change naming
2014-06-16 11:49:11 +02:00
Konstantin Käfer
d6da893e66
add comment for magic value
2014-06-11 20:24:12 +02:00
Konstantin Käfer
78fda8bb62
make sure we retain shared state when destructing the map object
...
refs #261
2014-05-30 17:00:47 +02:00
Konstantin Käfer
461a19dfa2
fallback to default properties instead of not rendering when we don't have a style
...
refs #272
2014-05-30 13:36:53 +02:00
Dane Springmeyer
f5394a7638
release mode: silent debug output + ifdef any potentially expensive calls
2014-05-29 18:07:19 -07:00
Konstantin Käfer
1b58fb30a3
use unordered map, don't make copies (auto usage!) and swap maps
2014-05-26 18:40:47 +02:00
Ansis Brammanis
2c1d4c4678
fix "bumped" zoom for label fading
...
fixes #138
2014-05-20 20:14:47 -04:00
Ansis Brammanis
362c055aa6
remove line causing flickering
2014-05-20 20:08:32 -04:00
Justin R. Miller
550e381e70
name text halo properties like others
2014-05-20 11:26:52 -07:00
Konstantin Käfer
9bb0146875
Merge branch 'master' into outdoors-style
...
Conflicts:
bin/style.js
2014-05-19 15:52:42 +02:00
Konstantin Käfer
27f8ed29e4
encode icon texture coordinate in buffer so we can render all pois with 1 draw call
2014-05-19 10:48:36 +02:00
Konstantin Käfer
51f523ec14
Merge branch 'master' into outdoors-style
...
Conflicts:
bin/style.js
include/llmr/map/transform.hpp
src/renderer/painter.cpp
src/text/placement.cpp
2014-05-14 17:42:10 +02:00
Konstantin Käfer
a9d559fe51
return refs to avoid matrix allocation/deallocation for untranslated layers
...
refs #189
2014-05-14 17:21:51 +02:00
Konstantin Käfer
b167a79c22
always use std:: namespace for math functions
...
fixes #201
2014-05-14 16:40:24 +02:00
Konstantin Käfer
790b6cbdb3
add strokeBlur property (default 1.0, larger values blur more) to achieve a gradient effect
...
fixes #194
2014-05-14 15:27:49 +02:00
Konstantin Käfer
3514538719
make text layers respect the translate-anchor
...
you can now specify "translate-anchor": "viewport" to have the text translated
in screen coordinates rather than relative to the tile. The default value
remains "translate-anchor": "map"
refs #189
2014-05-14 10:31:57 +02:00
Konstantin Käfer
05a330f347
make translate property zoom independent
...
if you want a zoom-dependent translation, you can use a function
refs #189
2014-05-14 10:31:57 +02:00
Konstantin Käfer
c8a3b916b3
make text layers respect the translate-anchor
...
you can now specify "translate-anchor": "viewport" to have the text translated
in screen coordinates rather than relative to the tile. The default value
remains "translate-anchor": "map"
refs #189
2014-05-13 19:02:22 +02:00
Konstantin Käfer
632c5f982c
make translate property zoom independent
...
if you want a zoom-dependent translation, you can use a function
refs #189
2014-05-13 16:48:23 +02:00
Konstantin Käfer
7bfcde4025
split up painter into multiple files
2014-05-13 15:37:45 +02:00