Commit Graph

5798 Commits

Author SHA1 Message Date
Konstantin Käfer
13575330f7 use sprite atlas 2014-05-19 10:48:36 +02:00
Konstantin Käfer
24bd0bb667 include header 2014-05-19 10:48:36 +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
Eden Halperin
6bf7599be8 transition country labels 2014-05-16 18:19:31 -07:00
Eden Halperin
a47f534dbb Merge branch 'outdoors-style' of https://github.com/mapbox/llmr-native into outdoors-style 2014-05-16 18:06:51 -07:00
Eden Halperin
dbd252040c fix admin boundary widths 2014-05-16 18:06:43 -07:00
Ansis Brammanis
4b2b19ccd3 use separate trees for horizontal and curved labels
from e4186926ed38fc1dc232c70098154251a9019669
2014-05-16 16:06:24 -04:00
Ansis Brammanis
264bcd34d9 flush command buffers when done 2014-05-16 14:04:12 -04:00
Konstantin Käfer
01183a0a19 fix remaining cases of point => icon 2014-05-15 18:09:00 +02:00
Konstantin Käfer
4c99014a13 don't use fractional texture coordiantes in the shader 2014-05-15 15:16:34 +02:00
Konstantin Käfer
27b695b068 use explicit constructors 2014-05-15 14:56:06 +02:00
Konstantin Käfer
44f8c80d21 also clear text and raster styles 2014-05-15 14:51:11 +02:00
Konstantin Käfer
fda64b67af rename point => icon 2014-05-15 14:51:02 +02:00
Konstantin Käfer
aeae6248ad simplify point shader in preparation for #196 2014-05-15 14:27:49 +02:00
Konstantin Käfer
949c10782d remove poi translation 2014-05-15 14:27:04 +02:00
Justin R. Miller
f329685544 update iOS details 2014-05-14 17:49:10 -07:00
Justin R. Miller
18b930362d formatting 2014-05-14 17:46:26 -07:00
Justin R. Miller
609144d87e bump bindings 2014-05-14 17:32:32 -07:00
Justin R. Miller
f640ee08cd fixes #205: fix Travis builds 2014-05-14 15:52:10 -07:00
Justin R. Miller
ec408f8592 bump MVKMapKit 2014-05-14 14:45:37 -07:00
Justin R. Miller
9a16483b8d ignore unused parameters 2014-05-14 14:33:26 -07:00
Justin R. Miller
7b2a977f21 technically these take an argument 2014-05-14 14:12:53 -07:00
Justin R. Miller
754584e3f4 Merge branch 'master' of github.com:mapbox/llmr-native 2014-05-14 11:43:09 -07:00
Justin R. Miller
9a79f348fa move debug app over to use of Cocoa API 2014-05-14 11:42:52 -07:00
Justin R. Miller
a6ee7b701e get rid of unused framework 2014-05-14 11:42:05 -07:00
Eden Halperin
10342904ba fix alpha color values and add stroke blurs to labels 2014-05-14 09:54:49 -07: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
a27f8798ff add translate-anchor: viewport to lines + points
refs #189
2014-05-14 17:17:47 +02:00
Konstantin Käfer
3d84dd60c9 always cast a building shadow to the bottom 2014-05-14 17:10:34 +02:00
Konstantin Käfer
afc54b7956 add translate-anchor for fills 2014-05-14 16:51:27 +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
5e65734630 better text halos for street names
refs #194
2014-05-14 15:36:29 +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
b8d88600b8 cemetary => cemetery 2014-05-14 15:09:13 +02:00
Konstantin Käfer
24617da3ff don't factor in the pixelratio to achieve the same look
refs #189
2014-05-14 15:06:31 +02:00
Konstantin Käfer
a812f37c60 make sure to premultiply the colors during stylesheet parsing
fixes #193
2014-05-14 15:05:59 +02:00
Konstantin Käfer
2d938f2ec2 make sure to premultiply the colors during stylesheet parsing
fixes #193
2014-05-14 15:04:33 +02:00
Konstantin Käfer
028ae4f256 make offsets less extreme 2014-05-14 14:53:11 +02:00
Konstantin Käfer
22f70f9569 don't factor in the pixelratio to achieve the same look
refs #189
2014-05-14 14:52:37 +02:00
Konstantin Käfer
c93af5cfb3 Merge branch 'master' into outdoors-style 2014-05-14 13:44:49 +02:00
Konstantin Käfer
ac9a678ce5 fix lock initialization
background: for non-debug builds, assert() gets compiled away, so the locks are not initialized
2014-05-14 13:41:55 +02:00
Konstantin Käfer
d89df4042f Merge branch 'master' into outdoors-style 2014-05-14 13:01:26 +02:00
Konstantin Käfer
164aef8b26 add hipchat notifications for build status 2014-05-14 13:01:07 +02:00
Konstantin Käfer
16ccb08f13 switch back to std::pair, tuples are breaking on travis 2014-05-14 12:38:57 +02:00
Konstantin Käfer
007b27088f add tuple include 2014-05-14 12:24:37 +02:00
Konstantin Käfer
6e0533a355 switch to r*tree and use tuples and bulk inserts 2014-05-14 12:18:51 +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
32b21b050f do not define variables until they're needed 2014-05-14 10:31:57 +02:00
Konstantin Käfer
d97e8899ae add translate-anchor property 2014-05-14 10:31:57 +02:00