Commit Graph

2357 Commits

Author SHA1 Message Date
Ansis Brammanis
5955ac3493 transition dashes when resetting their stretch
Dash patterns stretch from one integer zoom until the
next integer zoom where they reset. This transitions
those resets.

js: be5c7184bfd8cc9d47299041eb7fadbd41f6f6f0
2015-01-23 17:25:31 -05:00
Ansis Brammanis
d0d33a3ee7 don't permanently crossfade line patterns
js: a2e8527b4023d19fa0c58130a105aaf283f4b152
2015-01-23 17:12:41 -05:00
Ansis Brammanis
c5d5a799be Don't permanently crossfade fill patterns.
js: 00e11591106dae7eb02eff0328364d8ec03fdaa5
2015-01-23 17:05:30 -05:00
John Firebaugh
0c2ffc251c Revert "scale dashes by line-gap-width if present"
This reverts commit 4791bac675.
2015-01-22 14:05:49 -08:00
John Firebaugh
a8b6e3dc71 Merge remote-tracking branch 'origin/dash-3' into v7 2015-01-22 13:06:30 -08:00
John Firebaugh
9495b686e7 Use v7 styles / tests 2015-01-22 12:00:26 -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
Mike Morris
b6ef236d85 Merge pull request #768 from mapbox/clear-sqlite-cache
Clear sqlite cache
2015-01-21 15:56:48 -05:00
Mike Morris
ad7f68e386 simplify clear_sqlite_cache 2015-01-21 15:16:52 -05:00
Mike Morris
c18089b6d7 syntax fixes 2015-01-21 14:35:59 -05:00
Mike Morris
bee9ada450 clear sqlite cache 2015-01-21 14:29:41 -05:00
Mike Morris
161e187c6f only run clear_xcode_cache on OS X 2015-01-21 14:08:52 -05:00
Mike Morris
fc7c6d951d Merge pull request #767 from mapbox/readme-imagemagick
Add imagemagic to OSX README brew command
2015-01-21 11:17:35 -05:00
Leith Bade
acda1fcde8 Add imagemagic to OSX README brew command 2015-01-21 12:59:44 +11:00
Ansis Brammanis
4791bac675 scale dashes by line-gap-width if present
https://github.com/mapbox/mapbox-gl-js/pull/860#issuecomment-68788411

js: a5fb9f9fb5c7ea056b6ec228e0b398815cc0d356
2015-01-16 16:29:58 -05:00
Ansis Brammanis
07e23967d8 eamlessly join odd-length dasharrays
js: 8314099fa4165714c743ebe891fcff0e618ebcde
2015-01-16 16:21:14 -05:00
Ansis Brammanis
200b1ce449 remove names to suppress unused warnings 2015-01-16 14:40:30 -05:00
Ansis Brammanis
bf4e9d0862 remove duplicate lineatlas texture update 2015-01-16 14:39:47 -05:00
Ansis Brammanis
1ce0ca0b7a add warning when line atlas is overflowed 2015-01-16 13:37:13 -05:00
Mike Morris
9b2c8d0391 update bin/render for recent changes 2015-01-16 11:42:42 -05:00
Ansis Brammanis
221d256bea remove unused 2015-01-15 20:44:10 -05:00
Leith Bade
d950e986b7 Merge pull request #757 from mapbox/move-terminate
Move terminate() call to GLFWView to avoid problems with node
2015-01-16 10:16:30 +11:00
Leith Bade
5e44256fe8 Move terminate() call to GLFWView to avoid problems with node 2015-01-16 09:50:05 +11:00
Ansis Brammanis
c472528f9b support functions of dash arrays 2015-01-15 17:41:55 -05:00
Ansis Brammanis
b66f4e2c4b use TexSubImage2D for line atlas updates 2015-01-14 23:09:14 -05:00
Ansis Brammanis
4f827c21c6 implement round dash caps 2015-01-14 22:56:44 -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
Ansis Brammanis
8bfaf12793 remove old dash support from line shader 2015-01-14 21:11:19 -05:00
Ansis Brammanis
2643a0efc7 start porting dash lines from js
- switches to dash units that are scaled by line width
- adds a lineatlas to store patterns line dashed lines
- adds linesdf shader which renders line fill from the lineatlas

js: 8e83d76af3bd877eb9639c02e296363e2c0186f8
2015-01-14 20:56:18 -05:00
John Firebaugh
d24b73b1a6 Move class state to map
https://github.com/mapbox/mapbox-gl-js/pull/936
2015-01-14 17:43:44 -08:00
John Firebaugh
c6ca57045f Merge pull request #744 from mapbox/merge-roads
merge adjacent roads with the same text for labeling
2015-01-14 10:12:45 -08:00
Mike Morris
6260643924 Merge pull request #743 from mapbox/sqlite-3.8.6
SQLite 3.8.6
2015-01-14 12:25:22 -05:00
Ansis Brammanis
4fbb7d614c port tests for mergeLines
js: 867b7f4be01126663df609756049515a41e700d1
2015-01-13 22:29:28 -05:00
Ansis Brammanis
b54c0e2447 simplify erase
so you don't have to think about whether find might return an end()
iterator (which is invalid for erase).
2015-01-13 22:26:37 -05:00
Leith Bade
f76bd8a6f4 Merge pull request #745 from mapbox/fix-binary-shader
Check for IO errors when loading binary shader
2015-01-14 12:19:32 +11:00
Leith Bade
8cca0a27ba Check for IO errors when loading binary shader. Fixes #740 2015-01-14 10:35:33 +13:00
Mike Morris
1b2f38d330 pass sqlite3_static_libs in install.gypi 2015-01-13 14:31:50 -05:00
Mike Morris
0d1764c43e sqlite3_static_libs on linux 2015-01-13 14:31:50 -05:00
Mike Morris
f1609ef329 include sqlite3_static_libs in linker flags 2015-01-13 14:31:50 -05:00
Mike Morris
139c0c6da6 build against mason sqlite 3.8.6 2015-01-13 14:31:50 -05:00
Mike Morris
5eb838d3f4 Merge pull request #752 from mapbox/copy-version
break out version.hpp copy task into a separate gyp target
2015-01-13 14:26:41 -05:00
Mike Morris
fa0d20194e break out version.hpp copy task into a separate gyp target to eliminate a possible race condition in parallel builds 2015-01-13 14:15:48 -05:00
Mike Morris
7c88ad9a00 Merge pull request #751 from mapbox/clear-xcode-cache
Fix xcode_clear_cache
2015-01-13 13:35:30 -05:00
Mike Morris
4533dcaf34 fix hard tabs in Makefile so clear_xcode_cache task actually runs, remove cache.db in Application Support if it exists 2015-01-13 12:49:41 -05:00
Leith Bade
f20a17a291 Merge pull request #748 from mapbox/fix-swap
Correctly handle swapping
2015-01-13 09:23:28 +11:00
John Firebaugh
bac75f1c7a Allow characters outside \w to be used in token
https://github.com/mapbox/mapbox-gl-js/pull/926
2015-01-12 10:17:01 -08:00
John Firebaugh
ab7122831a Merge pull request #747 from mapbox/fix-resize
Correctly call resize with width and height
2015-01-12 10:15:31 -08:00
Ansis Brammanis
5670fb397f get rid of separate vector for symbol geometries 2015-01-12 12:33:24 -05:00
Leith Bade
f05a530529 Correctly handle swapping. Fixes #666 2015-01-12 13:50:00 +11:00