Commit Graph

1419 Commits

Author SHA1 Message Date
Konstantin Käfer
8cd6a99716 convert offset to em 2014-08-05 17:37:13 +02:00
Konstantin Käfer
7d44da82ec allow moving to map positions with mapboxgl://?center=[lat],[lon]&zoom=[z]&bearing=[b] 2014-08-05 17:13:48 +02:00
Konstantin Käfer
898c5dc7c3 port text alignment algorithm 2014-08-05 16:18:23 +02:00
Konstantin Käfer
05b95ab057 show zom/lat/lon/bearing in window title 2014-08-05 15:28:46 +02:00
Konstantin Käfer
af4ecc6260 we account differently for the ascender already 2014-08-05 15:08:26 +02:00
Konstantin Käfer
a790e080a5 include <array> 2014-08-05 15:03:01 +02:00
Konstantin Käfer
5ebb23521f change gamma back to old value 2014-08-05 14:57:40 +02:00
Konstantin Käfer
23ceaf7d66 code style fixes 2014-08-05 14:54:31 +02:00
Konstantin Käfer
86e137664c use trinary operator rather than || since c++ semantics for || is different 2014-08-05 14:53:56 +02:00
Konstantin Käfer
3946437d87 port js algorithm 2014-08-05 13:51:21 +02:00
Konstantin Käfer
1a95ec3a65 explicitly named parameters 2014-08-05 13:51:07 +02:00
Konstantin Käfer
1f8202b678 default to map alignment when placement type is line 2014-08-05 13:49:59 +02:00
Konstantin Käfer
b402d03837 don't require the background layer to be named "background" 2014-08-05 11:58:16 +02:00
Konstantin Käfer
17617a54bd make sure to check the promise 2014-08-05 11:56:28 +02:00
Konstantin Käfer
cdd7991505 correctly calculate placement depth 2014-08-05 11:44:50 +02:00
Konstantin Käfer
1ac5ed84ea port mapbox/mapbox-gl-js#ffd529df107bfec446fa4b4454a583f296c38819 2014-08-04 21:33:48 +02:00
Konstantin Käfer
9f99f0bb60 change max_angle_delta to max_angle 2014-08-04 18:59:17 +02:00
Konstantin Käfer
056b4a988c fix boolean operators 2014-08-04 18:46:43 +02:00
Konstantin Käfer
36181b0922 update symbol placement to be more like js 2014-08-04 18:24:22 +02:00
Konstantin Käfer
9dd50a29e1 update shaders and backport some collision changes 2014-08-04 12:59:22 +02:00
Konstantin Käfer
19e51e8bd8 port 5a9a1b14b9 2014-08-01 16:43:39 +02:00
Konstantin Käfer
2ff8b409fe port 954dc6591f 2014-08-01 16:33:59 +02:00
Konstantin Käfer
55664a8c8f fix enum tests 2014-07-31 19:06:15 +02:00
Konstantin Käfer
d01b996acd better warning messages 2014-07-31 18:55:48 +02:00
Konstantin Käfer
75c079adb1 move sprite to a use future loading 2014-07-31 18:14:26 +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
edenh
6e44e03241 Merge pull request #390 from mapbox/text-max-angle-degrees
change text-max-angle to accept degrees and convert to radians
2014-07-28 10:48:27 -07:00
Eden Halperin
7a8a9fb339 change text-max-angle to accept degrees and convert to radians 2014-07-26 09:18:42 -07:00
John Firebaugh
600e1d8a9e line-join defaults to miter (fixes #384) 2014-07-25 11:45:56 -07:00
John Firebaugh
bf1924c4c9 line-width defaults to 1 (fixes #388) 2014-07-25 11:36:28 -07:00
Justin R. Miller
14ff1c3ae9 refs #318 & #378: OS X install doc tweaks 2014-07-25 10:18:10 -07:00
Justin R. Miller
57d00f81df bump Cocoa for bearing sign/units fixes 2014-07-24 17:33:28 -07:00
Konstantin Käfer
2be561ed4a reduce maxPlacementScale
implements 871883d569
2014-07-23 17:28:10 +02:00
Konstantin Käfer
346e0510fa fix text placement
[skip ci]
2014-07-23 16:20:20 +02:00
Konstantin Käfer
ad8966913d bump cocoa bindings
fixes #374
2014-07-23 15:54:14 +02:00
Konstantin Käfer
04bab1af76 more include what you use 2014-07-23 13:18:03 +02:00
Konstantin Käfer
d175d146fb include what you use 2014-07-23 12:53:21 +02:00
Konstantin Käfer
b5c406416a read default values from property structs
fixes background color
2014-07-22 17:19:07 +02:00
Konstantin Käfer
d47f11574e do not explicitly render matte; we already cleared the background with glClear 2014-07-22 17:18:38 +02:00
John Firebaugh
fb151b3fbe Fix sprite->pos data race 2014-07-21 13:43:59 -07:00
John Firebaugh
4a110ff17e Use mapbox-gl-test-suite 2014-07-21 11:31:31 -07:00
John Firebaugh
86336ed838 Flip name and units and sign of rotation API
Angle -> Bearing
Radians -> Degrees
Clockwise -> Counterclockwise
2014-07-21 11:30:51 -07:00
John Firebaugh
c76ef7700c Show where to edit scheme 2014-07-21 11:10:06 -07:00
Konstantin Käfer
bcf82bdd01 respect layer min/maxzoom, not source min/maxzoom 2014-07-17 16:20:49 -07:00
Konstantin Käfer
ab045087da skip rendering layer when min/max-zoom condition isn't met 2014-07-17 16:04:17 -07:00
Konstantin Käfer
1e20959a00 support fractional min/max-zoom values 2014-07-17 16:03:30 -07:00
Konstantin Käfer
9ed0ca5983 pass SourceInfo object to TileData so that we can not skip buckets that appear later than the source maxzoom 2014-07-17 15:52:39 -07:00
Konstantin Käfer
3141b8b1f7 refactor source information into SourceInfo object 2014-07-17 15:37:18 -07:00
Konstantin Käfer
d3aeed6cf2 skip bucket creation if it's out of range 2014-07-17 15:23:39 -07:00