Commit Graph

95 Commits

Author SHA1 Message Date
Ansis Brammanis
47dc38bf4a [core] less slanted dashed lines near sharp corners
port https://github.com/mapbox/mapbox-gl-js/pull/2043 from -js
2016-02-15 12:55:41 -08:00
Ansis Brammanis
d9244cc973 [core] make sure icons fit before the ends of the line
This skips anchors if there is not enough room before the beginning or
end of the line for the icon to fit.

-js: https://github.com/mapbox/mapbox-gl-js/pull/2077/files
2016-02-09 15:01:34 -08:00
Mike Morris
8e5862bd5d node-v3.0.2 2016-02-04 19:02:08 -05:00
Ansis Brammanis
8e9510d2b4 [core] tweak dash rendering and enable render tests
fixes #2646
2016-02-02 17:09:38 -08:00
Ansis Brammanis
2cfc624848 [core] make symbol sort order more deterministic 2016-02-02 16:17:30 -08:00
Ansis Brammanis
4e0d1070f6 [core] support tiles with non-4096 extents
Convert all geometries to the maximum extent supported by our buffers
and then use that constant extent everywhere else.
2016-02-02 14:49:03 -08:00
Mike Morris
a3284ad7e2 node-v3.0.1 2016-01-26 11:10:54 -08:00
Ansis Brammanis
5cd123422e [core] fix missing icon collision boxes
port https://github.com/mapbox/mapbox-gl-js/pull/1981
2016-01-22 18:00:49 -08:00
Ansis Brammanis
0101fc0c89 [core] trigger repaint after placement is redone
fixes #3140

This also fixes a bug where placement could be redone with a stale
PlacementConfig after the tile first finishes loading.
2016-01-22 13:57:33 -08:00
Mike Morris
0a2e4af4c5 node-v3.0.0 2016-01-21 12:03:41 -05:00
Ansis Brammanis
ed0488d2e0 [core] improve text-max-angle check
Instead of using the absolute value of the sum of angles, use the sum of
the absolute values of angles.

This helps avoid labels on lines with sharp zig zags.

for example, the "Central Campus Mall" label in issue #2998
2016-01-20 16:58:24 -08:00
Ansis Brammanis
0fda834397 [core] implement symbol-avoid-edges
ref #3582

if `symbol-avoid-edges` is true, this prevents symbols from colliding
with tile edges.
2016-01-20 16:10:38 -08:00
Mike Morris
48cced9e31 node-v2.2.2 2016-01-19 17:42:43 -05:00
Ansis Brammanis
5119ce8155 [core] fix overscaled line patterns and re-enable render tests
fix #3489
fix #2648
2016-01-13 16:39:02 -08:00
Ansis Brammanis
e577354567 [core] remove bilinear, nearest scaling, fix #3164 2016-01-13 15:02:41 -08:00
Ansis Brammanis
bdfa1277a5 [core] match icon rendering with -js
port https://github.com/mapbox/mapbox-gl-js/pull/1919/files
2016-01-13 14:48:07 -08:00
kelvinabrokwa
73be3558d7 [core] seamless fill-pattern
seamless across dateline

upgrade test-suite version
2016-01-12 16:18:24 -08:00
kelvinabrokwa
52844d4746 [core] fix text-offset bug
fixes #3469
2016-01-07 16:44:44 -08:00
bsudekum
0ef257bfc6 [node] bump version to v2.2.1 2016-01-07 09:54:45 -08:00
Ansis Brammanis
42b13c69fe add test for text clipping at tile edges
ref #2829
2016-01-06 18:34:28 -08:00
John Firebaugh
e2ad0e008a [core] Fix background-pattern origin
Regressed in 6e41664cb0. This restores it
to the same behavior as gl-js, backed by test-suite tests.
2015-12-18 10:46:10 -08:00
Mike Morris
4dac6cde30 node-v2.2.0 2015-12-16 15:13:20 -05:00
John Firebaugh
4a803f1a78 [core] Don't use glClear optimization for layers that aren't the bottommost
Fixes #3292
2015-12-14 17:01:16 -08:00
Konstantin Käfer
8d711e9c80 [test] update test suite to include more comprehensive GeoJSON tests 2015-12-11 16:23:43 -08:00
John Firebaugh
896245e510 [test] Update test suite 2015-12-09 16:25:45 -08:00
Mike Morris
515a4fffab node-v2.1.0 2015-12-08 11:39:12 -08:00
Konstantin Käfer
7bfeaca85c [core] Reverse direction of line-offset 2015-12-08 10:49:23 -08:00
John Firebaugh
84754cf71c Update test suite 2015-12-03 13:04:39 -08:00
Konstantin Käfer
964a1e7b62 [core] rudimentary support for offsetting lines 2015-12-03 11:41:53 -08:00
John Firebaugh
e326d4972f [tests] Update test-suite 2015-12-01 16:24:43 -08:00
Mike Morris
4dc4eef83e [node] simpler PACKAGE_JSON_VERSION 2015-12-01 13:52:17 -05:00
Mike Morris
dcf3eb9083 node-v2.0.1 2015-11-25 16:34:39 -05:00
Mike Morris
e87834f15d [node] update package.json deps 2015-11-24 14:09:57 -05:00
Mike Morris
76253eb1d1 node-v2.0.0-pre.16 2015-11-23 14:13:22 -05:00
Mike Morris
36a8fb32d5 [node] Fixes 'make xnode' to configure HOST_SLUG.gypi
Adds node-gyp to dev-dependencies to support 'make xnode' on Node v0.10.x
Ignores -Wnested-anon-types around v8.h includes.
2015-11-05 18:16:33 -05:00
Mike Morris
3a91686a09 [node] autopublish node-pre-gyp binary
If $TRAVIS_TAG matches with node-v${PACKAGE_JSON_VERSION}.
2015-11-05 14:45:34 -05:00
Mike Morris
3528002b58 [node] swap array order to [lng, lat] for render option center
For consistency with GeoJSON and mapbox-gl-js
2015-11-04 17:41:34 -05:00
Lucas Wojciechowski
da569c266b [node] enable npm to build mapbox-gl-native package from source
This reverts commit 311bf93abe.

more explicit require paths in tests
2015-11-04 11:34:35 -05:00
bsudekum
c5e747018f Update version and changelog 2015-11-02 17:11:24 -08:00
bsudekum
93c5bc08b3 [node] add pitch option 2015-11-02 16:58:24 -08:00
John Firebaugh
014b517820 [node] Output debug logs when a render test times out 2015-10-28 15:54:34 -07:00
Vladimir Agafonkin
aaf090b87d [core] Use pixelmatch test-suite 2015-10-16 16:32:12 -07:00
bsudekum
8d205da3a4 [node] bump package.json version to pre10 2015-10-14 14:22:32 -07:00
Mike Morris
966397d00e [node] update dependencies 2015-10-13 14:19:19 -04:00
John Firebaugh
3bbb87c6d7 Update test-suite 2015-10-07 14:05:59 -07:00
Mike Morris
9fdc36c1a1 [node] add support for Node.js v4.1.x and update changelog 2015-09-30 15:36:44 -07:00
bsudekum
e5d0bf8613 bump to pre9 2015-09-30 14:31:09 -07:00
bsudekum
724063b48c [skip-ci] [node] bump version to 2.0.0-pre.8 2015-09-30 10:20:16 -07:00
Lucas Wojciechowski
12d0bdd824 Bumped to npm version 2.0.0-pre.7 2015-09-18 12:18:41 -07:00
John Firebaugh
1b87232bec [core] Update test-suite 2015-09-16 12:15:44 -07:00