Commit Graph

6876 Commits

Author SHA1 Message Date
Michael Muesch
774d32038f Fix namespace issue with OSMesa
HeadlessBackend seems to be part of the mbgl::gl namespace. Since OSMesaBackendImpl is only in the mbgl namespace this code does not compile.

Since this file is in the mbgl/gl folder I think it makes sense to just put the whole thing in the mbgl::gl namespace.
2019-06-10 15:13:38 +03:00
Jason Wray
fc802daa62 [core] Ignore more flaky node render tests 2019-06-07 12:39:48 -07:00
Mikhail Pozdnyakov
434b0f54ea [android] Fix compilation warning with updated clang
`mbgl::android::Value` move assignment operator is implicitly deleted.
2019-06-07 10:46:54 +03:00
Langston Smith
8d77deaddd [android] updated changelog for 8.1.0-alpha.2 (#14855) 2019-06-06 16:55:58 -07:00
Langston Smith
0e1c095e3d [android] bumped android telemetry to 4.5.1 (#14874) 2019-06-06 16:18:37 -07:00
Fabian Guerra
75659e26b8 [ios] Bump podspec to v5.1.0-alpha.2 2019-06-06 14:59:45 -07:00
Alf Watt
9ebd831e32 [ios] Integrate Mapbox Mobile Events 0.9.4 (#14868)
* [ios] Mapbox Events 0.9.4

* Run `scripts/generate-file-lists.js`

* Explicitly use the shared manager instead of init

* There can be only one `Scripts`
2019-06-06 13:43:23 -07:00
Tobrun
198ed888e3 [android] - increase timeout of image missing test, use GeoJsonSource above CustomGeometrySource 2019-06-06 09:03:51 +02:00
Jason Wray
bd3d19f5bd [ios] Update libmbxaccounts for navigation SDK override (#14802)
* Use a stringy selector... yerg.
* Bump to libmbxaccounts 1.0.0
2019-06-05 23:13:34 -07:00
tobrun
36361192b1 [android] - rename style component URL api to URI 2019-06-05 09:38:20 +02:00
Alexander Shalamov
a5f7f73dfe [ios] Update changelog for #14810 2019-06-05 00:03:13 -07:00
Alexander Shalamov
a71ccae141 [ios] Add integtation test that verifies MGLMapViewImpl size 2019-06-05 00:03:13 -07:00
Alexander Shalamov
0ba0b8c040 [ios] Calculate size of a MGLMapViewOpenGLImpl renderable from MGLMapView bounds
Fixes: #14807
2019-06-05 00:03:13 -07:00
Jason Wray
012e3931bf [core] Ignore flaky fill-pattern render tests 2019-06-04 10:43:44 -07:00
Łukasz Paczos
7b5d6c15ac [android] copy features array before passing them to core 2019-06-04 17:49:08 +02:00
tobrun
fd33e066a4 [android] - add external links to javadoc generation, fix warnings and errors, add package-info to loader module package 2019-06-04 16:59:56 +02:00
Łukasz Paczos
409ead63da [android] reset the native renderer only when the GL thread exits 2019-06-04 15:47:39 +02:00
Juha Alanen
f9796d2a28 [core] Fix symbol rendering under opaque fill layers 2019-06-04 16:35:53 +03:00
Konstantin Käfer
892699a39a [core] fix warnings with Xcode 11's updated Clang version 2019-06-04 10:07:19 +02:00
m-stephen
6742017a9a [macos]Added an MGLMapView.prefetchesTiles property to configure lo… (#14816)
* [macos]Added an `MGLMapView.prefetchesTiles` property to configure lower-resolution tile prefetching behavior

* [macos]Update changelog
2019-06-04 11:05:24 +08:00
Jason Wray
015a64b2a2 [ios] Fix undeclared selector warning in MGLAnnotationView
`setCoordinate:` isn't available to regular MGLAnnotation, only MGLPointAnnotation.
2019-06-03 16:49:42 -07:00
Langston Smith
d2badb56cd [android] update changelog for 8.1.0-alpha.1 (#14825) 2019-06-03 10:35:03 -07:00
Fabian Guerra Soto
402645109f [ios] Fix content insets with custom edge padding. (#14813)
* [ios] Fix content insets with custom edge padding.

* [ios, macos] Consolidated edge insets math

* [macos] Add content insets to edge padding when setting camera

* [ios, macos] Updated changelogs

* [ios, macos] Clarify setCamera:withDuration:animationTimingFunction:edgePadding method documentation.
2019-06-03 07:32:20 -07:00
Łukasz Paczos
1fa8e763d9 [android] do not try to package duplicate files in the publication 2019-06-03 14:49:41 +02:00
Aleksandar Stojiljkovic
1637a4b694 [ios] Content insets border case fix and comment.
Allows changing camera when user duplicates content insets.

Related to previous patch and comment:
https://github.com/mapbox/mapbox-gl-native/pull/14664#pullrequestreview-243004376
Thanks @1ec5
2019-06-03 08:55:39 +03:00
Pablo Guardiola
0181ef8f63 [android] add support for external sdk clients to be able to manage the tokens on their side (#14631) 2019-05-30 11:24:24 -04:00
Fabian Guerra Soto
316584fabc [ios] Bump podspec to v5.1.0-alpha.1 (#14800)
* [ios] Podspec bump to v5.1.0-alpha.1

* [ios] Update changelog.
2019-05-29 14:29:11 -07:00
Langston Smith
5b94c6b43f [android] updated changelog for 8.1.0-alpha.1 (#14798) 2019-05-29 09:58:23 -07:00
Konstantin Käfer
9eb43a587b [ios,macos] refactor MGLMapViewImpl 2019-05-29 18:27:42 +02:00
tobrun
05e194614f [android] - consolidate native build setup into one gradle configuration file 2019-05-29 11:51:39 +02:00
tobrun
ff980010d7 [android] - move example custom layer compilation to testapp 2019-05-29 11:51:39 +02:00
Łukasz Paczos
5bb0a49dc9 [android] option to change the zoom rate 2019-05-29 10:16:01 +02:00
Łukasz Paczos
e493cf4662 [android] decrease zoom rate by 35% 2019-05-29 10:16:01 +02:00
Jason Wray
0a7919ee7e [ios] Update Raster Tiles API name and link
Also update another link to avoid a redirect.
2019-05-28 11:02:01 -07:00
Konstantin Käfer
e52ce34fb5 [core] remove platform::show(Color)?DebugImage 2019-05-28 16:11:05 +02:00
Konstantin Käfer
7f9274035b [core] refactor program object creation 2019-05-28 16:11:05 +02:00
Thiago Marcos P. Santos
cc26ef17d5 [core] Introduce usage tag for resources
Make the distinction if a resource is being requested for offline
usage or if it will be used immediately.

Fixes #14746
2019-05-28 16:30:49 +03:00
Aleksandar Stojiljkovic
e5431d0181 Asymmetric viewport changelog entry
Check edge insets difference, in addition to isEqualToMapCamera in all the places in MGLMapView before map.easeTo/map.flyTo.
2019-05-28 14:38:01 +03:00
Aleksandar Stojiljkovic
9809c9f8f5 [core] Offset viewport center when edge insets are specified
The change is implemented in TransformState::getProjMatrix, the rest of the code is making sure that existing API contracts stay and there are tests verifyingrendering and render query processing only items within screen and given tolerance around screen edges.

MapView: don't bake edge insets into relalculated camera center. Keep edge insets as property of camera in TransformState (similar to pitch, zoom, bearing) independent from specified camera center. Interpolate edge insets in animation.

iOS Demo app: "Turn On/Off Content Insets" pitch the camera and navigate to convenient location in Denver, where streets are parallel to cardinal directions, to illustrate viewport center offset when edge insets are set.

Tests:
ViewFrustumCulling: although Annotations are deprecated, queryRenderedFeatures related tests in Annotations would need to get ported and decided to add the edge insets related query tests next to them. Verify frustum culling (render+queryRenderedFeatures) With different camera and edge insets setups. TODO: port Annotations tests.

Transform.Padding: Verify that coordinates take proper place on screen after applying edge insets.

LocalGlyphRasterizer: verify text rendering when applying padding.

Related to #11882: both use projection matrix elements [8] and [9].

Alternative approach to this was to increase and offset map origin so that the screen would be a sub-rectangle in larger map viewport. This approach has a drawback of unecessary processing the items that are outside screen area.

Fixes #12107, #12728, navigation-sdks/issues/120
2019-05-28 14:38:01 +03:00
tobrun
ddb6f749ec [android] - update maven publishing script to enable aar packaging vs pom packaging, update gradle tools and wrapper 2019-05-28 10:12:36 +02:00
tobrun
1e974804ad [android] - add javadoc URI supported protocols 2019-05-27 19:21:18 +02:00
tobrun
2be07041fd [android] - use URI instead of URL to enable asset loading 2019-05-27 19:21:18 +02:00
Jason Wray
9229556dd9 [ios, build] Specify Mapbox development team for project iOS apps 2019-05-24 13:28:11 -07:00
Łukasz Paczos
1bef3b7d1d [android] resume file source and wait for result to complete resources cache path change 2019-05-24 15:03:55 +02:00
Łukasz Paczos
46ef2d86d2 [core] invoke optional resource path change completion listener 2019-05-24 15:03:55 +02:00
Łukasz Paczos
bc74a8ee0b [android] break location camera tracking when a developer invoked animation starts 2019-05-24 10:11:18 +02:00
Łukasz Paczos
d8e9acd0f5 [android] deprecate MapboxMapOptions empty constructor 2019-05-23 17:17:17 +02:00
Thiago Marcos P. Santos
d60df973a6 [tests] Removed passing tests from the ignore list 2019-05-23 18:05:54 +03:00
Minh Nguyễn
179144a834 macos-v0.14.0 2019-05-22 17:30:21 -07:00
Nadia Barbosa
a4380fd08c [ios] Add missing tick to Podspec specification (#14729)
* [ios] Add missing tick to Podspec specification

* [ios] Remove unnecessary parenthesis from link in changelog
2019-05-22 15:00:31 -07:00