Commit Graph

13862 Commits

Author SHA1 Message Date
Langston Smith
a471d896e9 [android] Update changelog for v7.2.0-alpha.2 (#13930)
* [android] updated android changelog for 7.2.0-alpha.2 release

* [android] Added additional bug fix to changelog
2019-02-14 08:50:10 -08:00
Ivo van Dongen
3802f7e922 [android] hook into surface holder to cleanup renderer on the right thread before the surface is destroyed 2019-02-14 13:58:03 +02:00
Jason Wray
ceea900578 [ios] Release ios-v4.9.0-alpha.2 2019-02-13 14:49:11 -08:00
Jordan Kiley
5d85056030 [ios, macos] Move apiBaseURL to MGLAccountManager` (#13754)
[ios, macos] Move `apiBaseURL` to `MGLAccountManager`
2019-02-13 13:20:48 -08:00
Łukasz Paczos
98eac18a21 [android] invalidate the camera position when gesture finishes 2019-02-13 13:50:13 +01:00
tobrun
ca4648964a [android] - update codebase for Roboelectric v4.x 2019-02-13 11:29:49 +02:00
tobrun
841875b3e0 [android] - bump dependencies and tooling 2019-02-13 11:29:49 +02:00
Thiago Marcos P. Santos
65cec8be34 [android,darwin,ios,qt] Remove unused code
These files are no longer needed after the new GL abstraction.
2019-02-12 19:42:08 +02:00
Thiago Marcos P. Santos
992a955fc3 [tests] Add unit tests for the GLFunctions 2019-02-12 19:42:08 +02:00
Thiago Marcos P. Santos
690833ef92 [core] Switch to the new OpenGL abstraction
This patch will make Mapbox GL Core never use OpenGL
directly. We should consider locking into OpenGL ES 2.0
to simplify the code path and remove #ifdefs.
2019-02-12 19:42:08 +02:00
Thiago Marcos P. Santos
470b01847d [android,linux,darwin,qt] Load OpenGL for the platform
These loaders will provide pointers to the platform implementation
of OpenGL. On Android, Linux and Darwin, we simply link with the
OpenGL implementation that is expected to exist on the platform.

Qt has its own GL loader, so we just connect the dots.
2019-02-12 19:42:08 +02:00
Thiago Marcos P. Santos
9b66be7bef [core] Abstract the OpenGL implementation
The platform will be responsible to load the OpenGL implementation
and give the function pointers to Mapbox GL Core. The platform might
load OpenGL by linking against some OpenGL implementation, load it
dynamically, etc. It doesn't matter as long as it is a valid
implementation.

Also adds the `::platform` namespace where all the missing symbols and
interfaces expected to be implemented by the platforms will live.
2019-02-12 19:42:08 +02:00
Ivo van Dongen
1fadf56368 [android] change lock scope in run_loop to avoid deadlocks. simplify as
well
2019-02-12 17:56:35 +02:00
Łukasz Paczos
ca7d9422b6 [android] use #onDidBecomeIdle event instead of layer querying during instrumentation tests 2019-02-12 16:38:55 +01:00
xylosper
fbbc83aa0e [qt] fix missing Q_MAPBOXGL_EXPORTs
New projection-related functions in QMapbox namespace
are missing Q_MAPBOXGL_EXPORTs.
2019-02-12 11:08:26 +02:00
xylosper
26af7265c3 [qt] add global projection functions
There are 3 methods in QMapboxGL which can be static method.

QMapboxGL::metersPerPixelAtLatitude
QMapboxGL::projectedMetersForCoordinate
QMapboxGL::coordinateForProjectedMeters

Add these functions into QMapbox namespace as global functions.
The methods in QMapboxGL are kept for backward compatibility.
2019-02-12 11:08:26 +02:00
Julian Rex
2deebc0efe [ios] Check supported interface orientations when rotating device/view layout (#13900) 2019-02-11 23:07:15 -05:00
Felix Wehnert
57438c2a7e [ios] Improve tilt gesture performance (#13902) 2019-02-11 17:28:44 -08:00
Langston Smith
e1092e4148 [android] remove duplicates (#13901) 2019-02-11 09:57:22 -08:00
Langston Smith
7acaa3b467 [android] updates to changelog for 7.2.0-alpha.1 release (#13893) 2019-02-07 11:30:55 -08:00
tobrun
6773a876e9 [android] - update changelog for v7.1.2 2019-02-07 16:39:49 +01:00
tobrun
a3a601699e [android] - migrate tests from #13882 2019-02-07 15:41:54 +01:00
tobrun
7ad9f3450d [android] - remove faulty conversion, explict casting for cluster API 2019-02-07 15:41:54 +01:00
Tobrun
47fa19444e [android] - add experimental pointer (#13889) 2019-02-07 15:22:36 +01:00
Jason Wray
b8d2038810 [ios] Update changelog for 4.9.0 2019-02-06 14:10:33 -08:00
Jason Wray
e1723d0281 [ios, build] Improve error message when tagged version does not exist in changelog 2019-02-06 14:10:27 -08:00
Jason Wray
ee443be7b4 [ios] Release ios-v4.9.0-alpha.1 2019-02-06 11:31:17 -08:00
Jason Wray
7476befccb [ios, build] Make jazzy sqlite3 installation version agnostic 2019-02-06 09:30:17 -08:00
Tobrun
cec20c7b30 [android] - update downstream circle-ci job name (#13872) 2019-02-06 16:13:17 +01:00
Fabian Guerra Soto
63065e1268 [ios, macos] Update unit test bundle identifier. (#13875) 2019-02-05 14:49:00 -08:00
Julian Rex
5ba4a6a980 [ios] Reverts "Enable customize positions of mapview ornaments (#13556)" (#13870)
This reverts commit e22d28c285.
2019-02-05 13:50:12 -05:00
Julian Rex
47852b6c42 [ios] Specify sqlite3 version used by Jazzy (#13874) 2019-02-05 10:26:05 -05:00
Jason Wray
c49898a5ca [ios, docs] Fix types in jazzy Swift declarations for MGLMapViewDelegate
Also, fix highlighting for one thing.
2019-02-04 10:17:51 -08:00
Łukasz Paczos
8ad13cd577 [android] expose symbol placement transition duration option 2019-02-04 14:52:14 +01:00
Mikhail Pozdnyakov
e45c3926c2 [core] Reduce presence of the 'useIntegerZoom' option
The `useIntegerZoom` presence is now limited: it is removed
from `PossiblyEvaluatedPropertyValue` class specializations
(was never used there!) and from the `PropertyEvaluationParameters`
class, so we do not have to copy `PropertyEvaluationParameters`
instance at `RenderLineLayer::evaluate`.
2019-02-04 13:30:21 +02:00
Jason Wray
b56a7181af [darwin, docs] Use shared mapbox/jazzy-theme submodule 2019-02-01 13:39:36 -08:00
Jason Wray
6dc38c593a [ios, docs] Support custom jazzy header content 2019-02-01 13:39:36 -08:00
Fabian Guerra Soto
d7f71a2399 [ios] Fix the user location not getting displayed when setting tracking mode to followWithCourse and followWithHeading (#13849)
Removed legacy code that was causing the mapView to ignore setting the user location to tracking modes follingWithCourse and followWithHeading.
2019-02-01 11:59:26 -08:00
Łukasz Paczos
b07db0f8d0 [android] changelog for v7.1.1 2019-02-01 15:43:47 +01:00
xylosper
b1ee903dc4 [qt] Add example of feature collection data for GeoJSON source
The example shows that both of QList<QMapbox::Feature> and
QVector<QMapbox::Feature> can be used as feature collection data
for GeoJSON layer.
2019-02-01 16:34:35 +02:00
xylosper
6b2f17191b [qt] Support feature collection for GeoJSON source data
This commit adds support of `QVector<QMapbox::Feature>`
and `QList<QMapbox::Feature>` for data in GeoJSON source.
2019-02-01 16:34:35 +02:00
Łukasz Paczos
43dc191f54 [android] bump gestures library to v0.4.0 2019-02-01 13:07:00 +01:00
Łukasz Paczos
9c7b6f1fa7 [android] nitpick - explicitly fetch tags for each vendor submodule 2019-02-01 13:07:00 +01:00
Langston Smith
a2b49e9d22 [android] Adding new variation of LocationComponent#activateLocationComponent (#13829)
* [android] added new activateLocationComponent method

* [android] added new test for the new way to activate the LocationComponent

* [android] tweak to test after lukasz review

* [android] adding tests to assert LocationEngine status
2019-01-31 07:20:25 -08:00
Mikhail Pozdnyakov
429ea6aba5 [core] Remove paintProperties() method from some render layers
PatternLayout can directly access layer's `evaluated` field.

Besides, obviates accessing of moved `evaluatedProps` inside
PatternLayout constructor.
2019-01-31 11:50:17 +02:00
Fabian Guerra
1d6c36a3e7 [ios] Bump podspec to 4.8.0. 2019-01-30 11:39:22 -08:00
Josh Erb
5d891b4b2a [ios][documenation] add additional code snippets to API docs 2019-01-30 13:18:45 -05:00
Konstantin Käfer
8faee25546 [core] change loop variable type to auto
We used `const std::pair<T, std::shared_ptr<Expression>>`, but the actual type is `const std::pair<const T, std::shared_ptr<Expression>>` which resulted in an implicit copy
2019-01-30 17:28:31 +01:00
Osana Babayan
ce37879231 [android]added generic performance event (#13795) 2019-01-30 10:17:56 -05:00
Łukasz Paczos
d8bd594687 [android] LocationComponent max fps javadoc 2019-01-30 16:13:23 +01:00