Commit Graph

7032 Commits

Author SHA1 Message Date
Ansis Brammanis
9e68e49c89 fix depth clipping in perspective view
The depth range is now set slightly differently. Both ends of the range
are shifted for each layer to solve some precision issues.

Some layers draw multiple things at different depths. For example, fill
layers draw fills and antialiasing separately. To handle this case, I
added setDepthSublayer(n) which a
2015-08-24 18:41:51 -04:00
Ansis Brammanis
0d68c4fedf load correct covering tiles in perspective view
port pointCoordinate from -js to convert screen points to tile
coordinates correctly in perspective view.
2015-08-24 18:41:51 -04:00
Ansis Brammanis
cef1b25444 port invert and transformMat4 from gl-matrix 2015-08-24 18:41:51 -04:00
Ansis Brammanis
554425b753 fix earthquakes in perspective view
Use higher precision for matrix calculations so that the map does not
jump around while zooming.
2015-08-24 18:41:50 -04:00
Ansis Brammanis
bc92c2de39 fix symbol collision detection in perspective view 2015-08-24 18:41:50 -04:00
Ansis Brammanis
494489f9a0 fix symbol rendering in perspective view 2015-08-24 18:41:50 -04:00
Ansis Brammanis
be36ce0198 fix fill antialiasing for perspective views 2015-08-24 18:41:50 -04:00
Ansis Brammanis
3027f8c0aa port line rendering fixes for perspective views 2015-08-24 18:41:50 -04:00
Ansis Brammanis
f0885d36ff port mat2 from gl-matrix 2015-08-24 18:41:50 -04:00
Ansis Brammanis
2535e669e2 hacks to see stuff 2015-08-24 18:41:50 -04:00
Ansis Brammanis
8d22e2bf01 port perspective projection matrix from -js 2015-08-24 18:41:50 -04:00
Ansis Brammanis
d513910712 port mat4.perspective and mat4.rotate_x 2015-08-24 18:41:49 -04:00
tobrunvannuland
5636eb86c1 Replaced name outdated menu item of Android Studio 2015-08-24 18:41:49 -04:00
tobrunvannuland
86b560e83c correction path to JAVA_HOME (Added /Contents/Home 2015-08-24 18:41:49 -04:00
Brad Leege
13cb79e20c Merge pull request #2156 from tobrunvannuland/doc_android_build_update
Documentation Android build process
2015-08-24 15:18:45 -07:00
Lucas Wojciechowski
648b587959 Fixed missing labels and icons 2015-08-24 14:22:02 -07:00
Mike Morris
8a67805a3c Revert "PLATFORM=node make node"
This reverts commit cef04fcfa7.
2015-08-24 17:12:02 -04:00
Justin R. Miller
c6aee1aadd update iOS first steps guide URL 2015-08-24 13:18:24 -07:00
Justin R. Miller
a2ee2bcdae remove Bright, Basic, and Outdoors from iOS testing 2015-08-24 11:56:24 -07:00
Justin R. Miller
92dd26c8be iOS app/framework fixes for v8
- Mapbox Streets -> Streets
 - style version from string to integer
 - 7 -> 8
2015-08-24 11:34:03 -07:00
John Firebaugh
0451aca37e Merge branch 'v8' 2015-08-24 10:47:30 -07:00
tobrunvannuland
0a63031819 Replaced name outdated menu item of Android Studio 2015-08-23 14:46:41 +02:00
tobrunvannuland
fef4404f6e correction path to JAVA_HOME (Added /Contents/Home 2015-08-23 14:44:19 +02:00
Justin R. Miller
e42e3ea3a0 fix podspec URLs 2015-08-21 22:37:24 -07:00
Justin R. Miller
ebc2b785e0 fix w/ symbols version of podspec 2015-08-21 22:21:18 -07:00
Justin R. Miller
7e5e0962d5 update CocoaPods build download URL 2015-08-21 17:07:10 -07:00
Brad Leege
b8a2fb4a52 Merge branch '934-api10' 2015-08-21 18:03:57 -05:00
Lucas Wojciechowski
e97662972f Support v8 sprite, glyph, and style mapbox:// urls 2015-08-21 14:39:26 -07:00
Brad Leege
ddf1250ca8 #934 - Removing onLocationChanged() log statement 2015-08-21 16:14:59 -05:00
Brad Leege
11a1957770 #934 - Removing duplicate compass.png file and centralizing in common drawable 2015-08-21 16:14:07 -05:00
Brad Leege
e91c21c284 #934 - Consolidating CallbackHandler due to API minimum being above Gingerbread 2015-08-21 15:51:26 -05:00
Brad Leege
a07fe3aecd #934 - Setting SDK Minimum to API 15. Removing TargetApi Annotations. 2015-08-21 15:46:16 -05:00
Mike Morris
cef04fcfa7 PLATFORM=node make node 2015-08-21 16:34:21 -04:00
Mike Morris
dd71d8f681 Merge branch 'master' into node 2015-08-21 16:24:02 -04:00
Mike Morris
6e6387e089 move node-mbgl to platform/node/ directory 2015-08-21 16:22:04 -04:00
Justin R. Miller
c0fc8160f7 Merge pull request #2118 from mapbox/productquest
tighten up repo docs for contributor focus (make distinction between library & product)
2015-08-21 11:39:40 -07:00
Justin R. Miller
4a4ca9b061 rename zip product 2015-08-21 11:18:51 -07:00
Konstantin Käfer
e2fadf3157 don't clip glyphs with the frustum 2015-08-21 14:16:43 -04:00
Justin R. Miller
af92e59fc7 move to 2.0.0-style versioning 2015-08-21 11:05:26 -07:00
Justin R. Miller
3f99f5e712 GL is the library, SDK is the product 2015-08-21 11:01:07 -07:00
Minh Nguyễn
6d1c10dc18 Increased timeouts for failing metrics tests
ref #1887
2015-08-21 09:36:23 -04:00
Mike Morris
a8d9b921d7 require 'ratio' in mbgl.Map options, mbgl::Update::Dimensions in main thread 2015-08-20 16:41:05 -04:00
Konstantin Käfer
5989ff4eb7 use the global animationTime instead of querying our own time
this reduces the amount of std::chrono::steady_clock::now() calls
2015-08-20 16:40:31 -04:00
Mike Morris
783b6de305 bump to mbgl@0.5.1, attempt to resize HeadlessView directly
resize the framebuffer on the map thread
2015-08-20 16:14:43 -04:00
Konstantin Käfer
fd98607c5f only update the render order array when there are changes to tiles 2015-08-20 16:13:46 -04:00
Konstantin Käfer
038b65eded move RenderPass check to the StyleLayer object 2015-08-20 16:13:45 -04:00
John Firebaugh
b7a4000a3c Update test suite 2015-08-20 11:59:08 -07:00
Ansis Brammanis
231e83b450 reverse label priority order 2015-08-20 11:59:08 -07:00
Ansis Brammanis
af9396a678 don't draw halo when halo-width is 0
669d891257
2015-08-20 11:59:08 -07:00
Ansis Brammanis
60e9712916 remove text-max-size and icon-max-size
port https://github.com/mapbox/mapbox-gl-js/pull/1419
2015-08-20 11:59:08 -07:00