Commit Graph

9636 Commits

Author SHA1 Message Date
Tobrun
ed4e7a1134 [android] - Show bus stops and route Circle Layer Activity (#7402) 2017-01-05 09:47:51 +01:00
John Firebaugh
fb569bc5db Fix test-suite SHA 2017-01-04 19:41:00 -08:00
John Firebaugh
0c0064c050 [core] Get rid of user-specified refs 2017-01-04 17:38:33 -08:00
John Firebaugh
59803d3025 [core] Use PropertyMap typedef 2017-01-04 17:38:33 -08:00
John Firebaugh
1b7dfff5cf [node] Fix array/object distinction
Only affects tests.
2017-01-04 17:38:33 -08:00
Tobrun
cf859d6d0b [android] - move snapshot t NativeMapView (#7463) 2017-01-05 00:14:35 +01:00
Konstantin Käfer
b515762528 [docs] Add note about MGL_EXPORT to macOS documentation 2017-01-04 23:06:22 +01:00
Konstantin Käfer
b981c52682 [macOS] use SourceKit to ensure that all public symbols are exported 2017-01-04 23:06:22 +01:00
Konstantin Käfer
8bbf4c3be9 [build] add -fvisibility=hidden to macOS dynamic framework and export required symbols 2017-01-04 23:06:22 +01:00
Minh Nguyễn
b35deb85bc Happy new year! 🎉 2017-01-04 14:05:56 -08:00
John Firebaugh
4d6c5b2d3b [core] Remove constexpr from Color
GCC can't cope with it.
2017-01-04 12:10:27 -08:00
Tobrun
b387105419 [android] - remove deprecated setAccessToken and getAccessToken from OfflineManager, make validating the access token a part of getAccessToken in Mapbox. (#7582) 2017-01-04 12:15:26 +01:00
Tobrun
654061c7d1 [android] - limit the scale factor for double tap zoom (#7580)
* [android] - limit the scale factor to avoid accelerating the double tap zoom gesture

* clamp values
2017-01-03 20:27:44 +01:00
Thiago Marcos P. Santos
5ac72ce8bf [Qt] Add docs for QMapboxGL 2017-01-03 16:52:24 -02:00
Thiago Marcos P. Santos
4bee81dd21 [Qt] Added docs for QMapboxGLSettings 2017-01-03 16:52:24 -02:00
Thiago Marcos P. Santos
003eec633e [Qt] Move QMapboxGL stuff from QMapbox namespace 2017-01-03 16:52:24 -02:00
Thiago Marcos P. Santos
b8564299e5 [Qt] Simplify setTransitionOptions 2017-01-03 16:52:24 -02:00
Thiago Marcos P. Santos
5437c7b5b3 [Qt] Make some accessors Qt properties 2017-01-03 16:52:24 -02:00
Thiago Marcos P. Santos
ecf1842a26 [Qt] Removed unused methods 2017-01-03 16:52:24 -02:00
Tobrun
561694a878 [android] - update changelog for 4.2.1 (#7520) 2017-01-02 19:27:56 +01:00
Tobrun
eefbb754d0 [android] - build and test wear module on CI, cleanup gradle file, added make target, added unit test (#7534) 2016-12-28 15:16:18 +01:00
John Firebaugh
65c28deefe [core] Update gl-js for shader change 2016-12-23 10:49:51 -08:00
John Firebaugh
083cee8956 [core] Correct boolean function interpolation 2016-12-22 18:14:00 -08:00
John Firebaugh
317b2bf42f [build] Use a submodule for mapbox-gl-js rather than an npm dependency 2016-12-22 15:41:10 -08:00
Tobrun
531c983b73 [android] - downscale instrumentation tests on CI (#7529) 2016-12-22 23:47:42 +01:00
Ansis Brammanis
2cf238f74e [core] fix matrix z range and remove hack
ported from -js: 0b5520fa5ab2a4659d80dcffa8b035a0d84fe1ca

This should fix the issue behind #2270 and remove the need for the hack
added in #3740.
2016-12-21 15:46:36 -08:00
Ansis Brammanis
29099399a9 [core] clearer pitched line antialiasing
ported from -js: ef5582dd3bc5c15a3112e875ed66494dab8e9d0b

Project the extrusion and compare it's projected pixel length with the
actual pixel length and adjust antialiasing accordingly.

The previous approach calculated the adjustment much more indirectly and
had no intuitive explanation.
2016-12-21 15:46:36 -08:00
Ansis Brammanis
38b5cb0c77 [core, ios] replace altitude with fov
ported from -js: eb6c6596c6a7a61363d30356674e0002153b1d19

`altitude` was a terribly-named variable that was used to indirectly
control the fov. This should eliminate some confusion.

`altitude` was equivalent to `cameraToCenterDistance / height`
2016-12-21 15:46:36 -08:00
Ansis Brammanis
ebd241363d [core] fix text blurriness at different FOVs
ported from -js: c52a09639ceeeb809cd837360993df9c45b45420

This replaces a hardcoded shader approximation with a more correct,
FOV-dependent one.

`gl_Position.w - 0.5`
is replaced with
`gl_Position.w / tan(fov)`

The `/ tan(fov)` is handled by multiplying `1 / tan(fov)` into `u_gamma`
outside the shader.

I think `- 0.5` was just chosen as something that looked right for the
default fov.lease enter the commit message for your changes. Lines starting
2016-12-21 15:46:36 -08:00
Minh Nguyễn
9dd0cdbc57 [macos] Added Simplified Chinese localization 2016-12-21 13:51:34 -08:00
John Firebaugh
029805f729 [core] Replace magic number with constant-based calculation 2016-12-21 13:42:30 -08:00
John Firebaugh
bcf2c3ff9e [core] Polylabel-based "pole of inaccessibility" symbol placement 2016-12-21 13:42:30 -08:00
Tobrun
8d52806cbb [android] - update components with latest camera values (#7499) 2016-12-21 21:07:00 +01:00
Tobrun
b42494570e [android] - fix null pointer on trackingsettings (#7505) 2016-12-21 21:06:39 +01:00
Tobrun
dff42cac68 [android] - harden MapboxMapOptions, extract duplicate fragment logic, fixup DoubleMapActivity (#7507) 2016-12-21 21:06:26 +01:00
John Firebaugh
8a0dee6ebd [core] Remove unused BucketParameter members 2016-12-21 08:45:08 -08:00
John Firebaugh
f6985cf6ff [core] Convert BucketParameters#layer to a separate parameter
This parameter varies between Buckets, while the others are constant. It makes more sense as an individual parameter.
2016-12-21 08:45:08 -08:00
Konstantin Käfer
77db372123 [core] refactor URL parsing 2016-12-21 13:00:32 +01:00
Tobrun
2b38af8778 [android] - update lost to 2.0.0, gradle cleanup (#7494) 2016-12-21 12:32:07 +01:00
Minh Nguyễn
a6b1773a44 Merge branch 'release-ios-v3.4.0' into 1ec5-release-ios-v3.4.0-beta.5-master
Also reran make style-code and manually discarded anything related to fill extrusion layers.
2016-12-20 12:41:40 -08:00
John Firebaugh
dad57df38e [core] Fix symbol rendering for multipoints
Ports https://github.com/mapbox/mapbox-gl-js/pull/3763 and https://github.com/mapbox/mapbox-gl-js/pull/3806.
2016-12-20 08:30:39 -08:00
John Firebaugh
3dcff6c3e1 [core] const correctness 2016-12-20 08:30:39 -08:00
philemonmerlet
3032a67a53 [android] Upgrade OKHTTP to 3.5.0 (released december the 1st, 2016) (#7491) 2016-12-20 16:49:11 +01:00
Tobrun
889d92e0c9 [android] - fix regresssion on wear module (#7497) 2016-12-20 16:48:36 +01:00
Tobrun
999747ee0f [android] - only build phone module (#7498) 2016-12-20 16:41:32 +01:00
Tobrun
161035e6bb [android] - make targets for checkstyle, spoon and AWS device farm (#7469) 2016-12-19 14:37:45 +01:00
Eric Wolfe
e2fde9cc4e [ios, macos] Document when it's safe to call runtime styling functions (#7335)
* Add notes to wait for map to finish loading before adding sources or layers

* Move style loading notes to class documentation
2016-12-18 01:53:38 -08:00
Tobrun
83f1350747 MapboxAccountManager refactor, removal deprecated accesstoken (#7462)
* [android] - move object ownership, move depenencies and responsibility.

* [android] - MapboxAccountManager refactor, removal deprecated accesstoken.
2016-12-17 20:25:16 +01:00
Minh Nguyễn
e3a6857937 [ios, macos] Highlight current topic in documentation (#7468)
* [ios, macos] Highlight current topic in docs

* highlight style
2016-12-16 17:56:45 -08:00
Maya Gao
7f67a2926d iOS jazzy theme improvements (#7422)
some small improvements to the theme
2016-12-16 16:11:47 -08:00