Jesse Bounds
b7b6706576
[ios] Use map view frame to calculate annotation view reuse adjustments ( #8926 )
...
* [ios] Use map view frame to calculate annotation view reuse adjustments
The value for determining the visible viewport buffer and also the distance to move offscreen an annotation view outside of that buffer was based on the annotation view width and height. This changes that to use the map viewport width and height as constants and avoids a class of bugs where the annotation view would become detached from the tracking system when it did not have a size or was animating from a small to large size.
2017-05-09 12:08:41 -07:00
Bruno de Oliveira Abinader
c69fae99a5
[build] Suppress GLFW redefining GLAPIENTRY error
2017-05-09 14:35:34 +03:00
Minh Nguyễn
93ab5387d9
[android] Added Swedish localization from Transifex
2017-05-08 15:17:32 -07:00
Minh Nguyễn
36382af4b8
[ios, macos] Updated localizations from Transifex
...
Pulled various translations from Transifex.
Although Transifex supports the stringsdict format, it doesn’t allow translators to customize the format. This change splits out a separate “level” key for the same format string and moves any prefixes and suffixes into the “level” and “count” keys. For now, each localization has been updated manually, but future updates will come from Transifex.
2017-05-08 15:17:32 -07:00
Minh Nguyễn
5cc641ecad
[ios, macos] Moved DDS guide examples to Swift unit test
...
Moved example code from DDS guide to a unit test written in Swift. The code is inserted into the guide at codegen time.
2017-05-08 14:41:21 -07:00
Minh Nguyễn
dc7e30dd43
[ios, macos] Fixed syntax error in DDS guide
2017-05-08 14:41:21 -07:00
John Firebaugh
baaae99a03
[core, android] Factor JSON string conversions
...
This adds a `convertJSON` template, to be used like:
Error error
optional<Foo> foo = convertJSON<Foo>(string, error);
Internally, it parses the string with RapidJSON and then calls `convert<Foo>(parsed, error)`.
While here, rationalize GeoJSON converters and fix error handling for Tileset conversion in OfflineDownload.
2017-05-08 13:48:57 -07:00
Jason Wray
e34d8b5c80
[ios] Re-enable all console messages in iosapp
...
The Xcode 8 spew that prompted the addition of this setting has been
fixed and leaving it enabled was hiding important error messages.
2017-05-08 15:44:52 -04:00
Jason Wray
d99ebea930
[ios] Check for NaN when calculating scale bar width
2017-05-08 15:44:51 -04:00
Bobby Sudekum
5693befa78
[node] bump version, add changelog entry ( #8924 )
2017-05-08 11:27:36 -07:00
Tobrun
b622aed349
[android] - bump android support library, fixup SDK gradle dependencies to use the ones defined in root project. ( #8921 )
2017-05-08 17:30:15 +02:00
Tobrun
45545e15fc
[android] - show error message when no browser is installed on the device of the user. ( #8901 )
2017-05-08 12:07:00 +02:00
Konstantin Käfer
fd104dd3c2
[core] Throw exceptions by value
2017-05-05 14:42:47 +02:00
Dane Springmeyer
bf959b9d86
[node] start publishing both release+debug builds ( #8865 )
2017-05-04 16:43:54 -07:00
Bruno de Oliveira Abinader
f59ba4e3f3
Revert "[Qt] Don't regen BackendScope on every QMapboxGL::render() call"
...
This reverts commit 806da5d940 .
2017-05-04 21:02:40 +03:00
Bobby Sudekum
36ec203324
Add support for node v6 ( #8884 )
2017-05-04 10:31:26 -07:00
Bruno de Oliveira Abinader
806da5d940
[Qt] Don't regen BackendScope on every QMapboxGL::render() call
2017-05-04 15:58:30 +03:00
Tobrun
1b16be409a
[android] - only build custom layer for debug builds ( #8885 )
2017-05-04 11:13:54 +02:00
Tobrun
ab20413edf
[android] - add 3D buildings example ( #8845 )
...
[android] - add support for filter for fillextrusionlayer.
2017-05-03 08:59:55 +02:00
Jason Wray
fd344aaa14
[ios] Bump podspecs for v3.6.0-alpha.1
2017-05-02 17:22:59 -04:00
Justin R. Miller
e5ae80ca96
[ios] properly show attribution in modal hierarchies ( #8837 )
...
fixes #8782
2017-05-02 14:07:57 -07:00
Asheem Mamoowala
5c52401d55
[core] Make Map.addImage tests pass ( #8843 )
...
Fix Node tests suite implementation to parse pixelRatio from style json
Premultiply images in the node binding before sending to mbgl core
2017-05-02 09:54:06 -07:00
John Firebaugh
3f0c89d633
[core] Refactor Source::*Impls into RenderSources and TilePyramid
2017-05-02 08:45:09 -07:00
John Firebaugh
197751bace
[core] Load source TileJSON immediately
...
This reverses #3095 . Rationale:
* We're now exposing source attributes as a public API. Making those attributes unavailable at certain times complicates that API.
* We're preparing to split RenderSource out of Source. Removing this removes a point of coupling between the two.
2017-05-02 08:45:09 -07:00
John Firebaugh
c2b00378b7
[all] Push querySourceFeatures back out to Map
...
Once Source and RendererSource are split, Source will no longer have access to tiles.
2017-05-02 08:45:09 -07:00
Tobrun
a235032098
[android] - CHANGELOG.md update for release-v5.1.0-beta.1 ( #8857 )
2017-05-02 14:39:32 +02:00
Bruno de Oliveira Abinader
fd9e60c748
[build] Added 'shared_thread_pool.cpp' to 'mbgl-core' target on Linux
2017-05-02 12:54:37 +03:00
Bruno de Oliveira Abinader
d0239df39d
[core] Fix compilation error with older libpng versions
2017-05-02 12:54:37 +03:00
Bruno de Oliveira Abinader
d9d55f93c1
[core] Fix compilation error with older libicu versions
2017-05-02 12:54:37 +03:00
Minh Nguyễn
df5252725c
[ios, macos] Corrected map a11y value format strings
...
Corrected MGLMapView accessibility value format strings in Catalan, Russian, and Swedish.
2017-05-02 01:45:05 -07:00
Fredrik Karlsson
e6aea10ee0
[ios] Added sv stringsdict
2017-05-02 01:45:05 -07:00
Minh Nguyễn
50d99d7c4f
[android] Added Lithuanian, Spanish, Vietnamese localizations from Transifex
2017-05-02 01:45:05 -07:00
Minh Nguyễn
d7d4c97dad
[ios, macos] Updated ca, es, sv, vi, zh-Hans localizations from Transifex
2017-05-02 01:45:05 -07:00
Thiago Marcos P. Santos
18c52ab5e4
[Qt] Add extrusion example to the Qt app
2017-05-02 10:07:02 +03:00
Thiago Marcos P. Santos
184a4389e1
[Qt] Handle extrusion filters
2017-05-02 10:07:02 +03:00
Minh Nguyễn
efe3ccebbe
[ios, macos] Updated changelogs
...
Updated and reorganized changelogs.
2017-05-01 13:32:01 -07:00
Tobrun
1d955d330b
[android] - warning log when attempting to update a non-added annotation ( #8832 )
2017-04-28 13:58:03 +02:00
Lauren Budorick
f6e79d7073
[core] Render fill-extrusion layers ( #8431 )
2017-04-27 15:56:55 -07:00
Jordan Kiley
ea0e45b401
[ios] swapped link for circle layer example ( #8818 )
2017-04-26 09:25:07 -07:00
Tobrun
e33d71b55f
[android] - share locationsource between locational components ( #8825 )
2017-04-26 16:03:56 +02:00
Tobrun
184cbda4e8
[android] - fix test app runtime permissions ( #8823 )
2017-04-26 12:16:38 +02:00
Jordan Kiley
a87fd1a918
[ios, macos] Bumped recommended Xcode version >=8.0 ( #8775 )
2017-04-24 17:04:42 -07:00
John Firebaugh
5dd98df50b
[all] Rationalize style::Image
...
A style has a collection of images, just as it has collections of sources and layers.
* Name things appropriately
* Use std::unique_ptr
2017-04-24 15:52:28 -07:00
Minh Nguyễn
6f708ac545
[ios, macos] Update MGLMapView logo view ( #8771 )
...
* [ios, macos] Updated logo view to new Mapbox logo
* [default] Updated attribution logo SVG
2017-04-24 13:31:22 -04:00
Bobby Sudekum
42c308fd8f
Release node v3.5.0 ( #8785 )
2017-04-24 10:22:17 -07:00
Tobrun
bc757b5a30
[android] - avoid calling MarkerViewClickListener twice ( #8804 )
2017-04-24 16:28:30 +02:00
Konstantin Käfer
197f0ca6b4
[android] use AAssetManager instead of libzip
2017-04-24 10:42:10 +02:00
Tobrun
eed7dedf03
[android] - rework instrumentation tests ( #8793 )
2017-04-21 23:07:19 +02:00
Justin R. Miller
43cc8dbdb8
[ios] fixes #8522 : don't alter tint color on annotation views ( #8789 )
2017-04-21 11:50:34 -07:00
Tobrun
ed51462428
[android] - convert camera position values coming from core ( #8794 )
2017-04-21 19:15:26 +02:00