Commit Graph

16897 Commits

Author SHA1 Message Date
Kevin Li
1744a892c3 Add background image for GPS mode in IndicatorLocationLayerRender. (#439) 2020-06-24 18:24:34 +08:00
Kevin Li
967a57f2aa Not change file source status while changing cache path. (#429)
* Not change file source status while changing cache path.

* Fix test cases error.

* Change default state of FileSource to active.
2020-06-24 18:24:17 +08:00
Kevin Li
d004970c05 Update http cancel log. (#433) 2020-06-17 19:21:52 +08:00
Peng Liu
174105eb14 [ci] Fix github upload script for private repos. (#430) 2020-06-17 12:04:09 +03:00
Kevin Li
238abb470a Fix Javadoc for removeSource/removeLayer/removeLayerAt (#422)
Co-authored-by: Miles Krell <repos@mileskrell.com>
2020-06-05 17:05:56 +08:00
Tobrun
f377fd47a3 [renderer] gracefully ignore exceptions thrown in the android map renderer (#411) 2020-06-04 09:04:57 +02:00
Kevin Li
b16d47ce03 Fix remove source memory leak. (#412)
* Fix remove source memory leak.

* Fix testcase crash
2020-06-03 17:26:21 +08:00
Łukasz Paczos
fccf513c0f update specialized location layer's docs
This commit updates the docs to make sure that the FOREGROUND_LAYER constant is usable for relative positioning in both normal and specialized location layer rendering modes.
2020-06-02 17:13:26 +02:00
Peng Liu
c4f29c0797 [build] Update gradle and gradle plugin versions. 2020-06-02 14:58:27 +03:00
Peng Liu
6b5d022a40 [ci] Update CI image to use android-ndk-21b. 2020-06-02 14:58:27 +03:00
Kevin Li
bc24cc51cf update telemetry to 5.1.0 (#409) 2020-06-02 17:02:27 +08:00
Peng Liu
6f7073ac18 [ci] Automatically upload debuggable object to github releases. (#403) 2020-06-01 10:52:46 +03:00
Tobrun
60e5d8c667 [surface] exception free GLSurfaceView implementation (#402) 2020-05-29 09:31:58 +02:00
Kevin Li
5f7c224e76 Update location while camera move in tracking mode (#378)
* Update location while camera move in tracking mode

* Move update focal point logic into OnCameraMoveListener

* Fix review comments.

* Update testcases
2020-05-27 17:56:43 +08:00
Kevin Li
f73822d336 Do not take snapshot if map is stopped. (#390) 2020-05-26 15:53:09 +08:00
Tobrun
66a6c0cea7 [ci] rename CI config and move to root project (#398) 2020-05-25 16:52:53 +02:00
Peng Liu
de5003813e [test] Test release build of the test app with robo on firebase. 2020-05-25 17:00:41 +03:00
Kevin Li
22dc437731 [core] Fix raster map jittering during panning (#16478) 2020-05-25 20:32:13 +08:00
Harsha Sura
2ee6509013 Apply android-sdk-versions-plugin (#59)
* Apply android-sdk-versions-plugin

* Update android-sdk-versions-plugin to the latest version

* Update android-sdk-versions-plugin to the 1.0.1
2020-05-18 12:35:27 -07:00
Juha Alanen
a0286fc688 [build] Disable Android unit test runner
Disable Android unit test runner until CircleCI build issue is solved.
2020-05-18 16:45:38 +03:00
Juha Alanen
5a8942b9b9 [build] Disable benchmarks in CI on Linux and Mac 2020-05-18 16:45:38 +03:00
Juha Alanen
e5a2ebc525 [build] Remove benchmark runners 2020-05-18 16:45:38 +03:00
Kevin Li
759092957c Fix IllegalArgumentException with EGLConfigChooser (#389) 2020-05-18 19:54:39 +08:00
Kevin Li
f8fade5f00 Update changelog for 9.2.1 (#384)
* Update changelog for 9.2.1

* Update changelog for 9.2.1
2020-05-14 19:41:39 +08:00
Kevin Li
0010a58f28 Fix getFilter with distance expression crash. (#380)
* Fix getFilter with distance expression crash.

* Update gl-native and test case

* Bump gl-native to maps-1.6.0

* Update review comment.
2020-05-14 19:39:16 +08:00
Kevin Li
4c511ee971 Update unstable location tests (#383) 2020-05-14 17:30:38 +08:00
Tobrun
d319e17efe Reset AndroidRendererBackend properly to prevent a crash during rotation on an Android 4.2.2 x86 tablet. (#381)
Co-authored-by: Tsoi Yat Shing <ystsoi@yahoo.com.hk>
2020-05-14 10:19:37 +02:00
Igor Tarasov
05974e2a7f Fix binary size. (#382)
Add compiler and linker options to reduce binary size for release build:
  - reduce symbol visibility: `-fvisibility=hidden`, `-fvisibility-inlines=hidden`;
  - link time optimization `-flto` and enable gold plugin;
  - remove duplicated code: `–icf=all`;
  - size optimization for compilation (`-Oz`);
  - garbage collect unused sections: `-Wl,--gc-sections`
2020-05-13 18:21:07 +03:00
Kevin Li
2473dcc691 Fix text cut off when halo text width is applied (#373)
* Fix text cut off

* Move characters center.

* Shift glyph position
2020-05-12 08:26:11 +08:00
Minh Nguyễn
a139216637 ios-v5.9.0, macos-v0.16.0 2020-05-07 12:19:34 -07:00
Kevin Li
ea7acd6dee Update changelog for 9.2.0 (#371)
* Update changelog for 9.2.0

* Update changelog for 9.2.0

* Update changelog for 9.2.0

* Update changelog for 9.2.0
2020-05-07 17:22:02 +08:00
Kevin Li
01f1b1e6eb Rollback to System.loadLibrary to load native library. (#368)
* Rollback to System.loadLibrary if SoLoader failed to load library.

* Remove soloader.
2020-05-07 17:08:40 +08:00
Kevin Li
9d5b1f68b1 Bump telemetry to 5.0.1, core to 2.0.1 (#370) 2020-05-07 16:12:09 +08:00
Kevin Li
310d8efc89 Add example of image in label (#324) 2020-05-07 08:11:14 +08:00
Minh Nguyễn
9e53135fca [ios, macos] Added Info.plist key to customize offline database path 2020-05-06 10:45:02 -07:00
Minh Nguyễn
ecfe9bdd98 [ios, macos] Made offline database path public
Added getters for the path and URL of the offline database file and made use of the getter in places where the code had previously called -cacheURLIncludingSubdirectory: (which technically could’ve returned a different path each time it was called).

Also reformatted some MGLOfflineStorage documentation comments.
2020-05-06 10:45:02 -07:00
Mikko Pulkki
47fb356530 Update changelog 2020-05-02 17:07:02 +03:00
Mikko Pulkki
3a2db7cbf5 Add unit tests for the free camera 2020-05-02 17:07:02 +03:00
Mikko Pulkki
7b4a126cad Add camera demo to the glfw app 2020-05-02 17:07:02 +03:00
Mikko Pulkki
83c06c1f99 Add FreeCameraOptions to the Map class 2020-05-02 17:07:02 +03:00
Mikko Pulkki
57b4b2829e Refactor TransformState to use internal 3d camera 2020-05-02 17:07:02 +03:00
Mikko Pulkki
9d391d7edd Add quaternions to represent orientations 2020-05-02 17:07:02 +03:00
Mikko Pulkki
c2294ad68d Move vector types to a public header 2020-05-02 17:07:02 +03:00
Jordan Kiley
0895c698d9 [darwin] Restore platform check for sku token (#16456) 2020-05-01 16:35:07 -07:00
Minh Nguyễn
ea308366d9 ios-v5.9.0-beta.1, macos-v0.16.0-beta.1 2020-05-01 15:53:42 -07:00
Minh Nguyễn
8eba0f6594 [ios] Adopt Apple Generic Versioning 2020-05-01 15:53:42 -07:00
Minh Nguyễn
9c95ed9b99 Sentence-cased copyright notice 2020-05-01 15:53:42 -07:00
Minh Nguyễn
d63d14d1a0 mbgl v1.6.0 2020-05-01 15:53:42 -07:00
Minh Nguyễn
27eee6adf5 [ios, macos] Added distance expression function
Installed an mgl_distanceFrom: aftermarket expression function that corresponds to the “distance” expression operator in style JSON.
2020-05-01 12:40:16 -07:00
Minh Nguyễn
93141ac0f0 [ios, macos] Hard-code Null Island for runtime styling test
Relying on the stylesheet to jump from an invalid camera to Null Island seems to introduce a race condition where the tiles don’t render by the time the snapshot takes place.
2020-05-01 10:51:37 -07:00