Commit Graph

16325 Commits

Author SHA1 Message Date
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
Minh Nguyễn
1b4c422c5c [ios, macos] Added offline pack context setter
Set the offline pack’s associated metadata, then replace the offline pack’s underlying offline region based on a fresh reload, without touching the master array of offline packs.
2020-04-30 16:34:41 -07:00
Minh Nguyễn
e780d13a7e [ios, macos] Reworded a sentence for clarity 2020-04-30 16:34:19 -07:00
Minh Nguyễn
bf91ad4994 [ios, macos] Customizing Fonts guide
Split out a guide about customizing fonts, covering both server-side and client-side fonts.
2020-04-30 16:34:19 -07:00
Chloe Krawczyk
0e44981d20 finalize 9.2.0-beta.1 changelog (#364) 2020-04-30 13:35:58 -07:00
Chloe Krawczyk
8525620fea Add SDK license file to script and generate new license (#363) 2020-04-30 12:55:11 -07:00
Kevin Li
8625168ea6 Update changelog for 9.2.0-beta.1 (#359)
Co-authored-by: Chloe Krawczyk <chloe.krawczyk@mapbox.com>
2020-04-30 12:07:58 -07:00
Fabian Guerra Soto
76f58c5385 Fix root.plist flag conversion. (#288)
* Fix root.plist flag conversion.

* Update changelog.
2020-04-30 13:54:31 -05:00
Łukasz Paczos
77ea09e364 bump gestures library to v0.7.0 2020-04-30 16:51:45 +02:00
Łukasz Paczos
f387da9309 Expose LocationComponentOptions#trackingMultiFingerProtectedMoveArea
This option provides a way of defining a protected area on the screen which prevents breaking the camera location when executing a multi finger gesture as long as the focal point of the gesture is within this area.
2020-04-30 16:51:45 +02:00
Łukasz Paczos
9ae33ea9cc notify about a fling only when it actually executes
This makes sure that we need to meet all of the thresholds and actually start the fling camera animation before dispatching the onFLing event. Previously, it would be dispatched as soon as the compat detector fired.
2020-04-30 16:51:45 +02:00
Gali Nelle
d60fd302b1 Update changelog for the maps-1.6.0 release 2020-04-30 17:27:00 +03:00
Alexander Shalamov
30b4e57828 [core] Fix rest of 'brace initialization' errors 2020-04-30 14:09:58 +03:00
zmiao
0ed719e0d6 [core] Fix geometry_util compilation error 2020-04-30 14:09:58 +03:00
Langston Smith
9bfe77df40 Adding pulsing circle to LocationComponent options (#172)
* [location] added pulsing locationcomponent circle

* adjusting style switching to roll through all styles

* refactored methods and variables for prefix continuity

* refactoring to after making start and stop private methods

* refactoring to stop pulsing when LocationComponent is disabled and color/speed is then selected

* refactoring to swap interpolator string paramete for interpolator interface parameter

* LocationLayerControllerTest adjustments

* removing unneeded test

* more rebase adjustments

* [location] added pulsing locationcomponent circle

* refactoring to swap interpolator string paramete for interpolator interface parameter

* consolidating pulse ui update methods

* gl-native vendor bump

* refactor to check for activation with locationcomponent

* Update MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/location/LocationComponentOptions.java

Co-Authored-By: Łukasz Paczos <lukasz.paczos@mapbox.com>

* Update MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/location/LocationComponent.java

Co-Authored-By: Łukasz Paczos <lukasz.paczos@mapbox.com>

* Update MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/location/LocationComponentOptions.java

Co-Authored-By: Łukasz Paczos <lukasz.paczos@mapbox.com>

* Update MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/location/LocationComponentOptions.java

Co-Authored-By: Łukasz Paczos <lukasz.paczos@mapbox.com>

* Update MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/location/LocationComponentOptions.java

Co-Authored-By: Łukasz Paczos <lukasz.paczos@mapbox.com>

* Added incompatibility docs

* Added pulse alpha range explanation

* Do not wrap pulsing circle animator with an animator set to avoid leaks

Co-authored-by: Łukasz Paczos <lukasz.paczos@mapbox.com>
2020-04-30 12:28:36 +02:00
Jordan Kiley
be37d804b6 [darwin] remove accountType check (#16449) 2020-04-30 01:34:53 -07:00
zmiao
296ca0d437 Update changelog 2020-04-30 02:31:15 +03:00
zmiao
f8d137a0c5 Update baseline 2020-04-30 02:31:15 +03:00
zmiao
23b6268a04 [core] Distance expression: Refine logic 2020-04-30 02:31:15 +03:00
zmiao
70fbc97e58 [test] Distance expression: Update unit tests 2020-04-30 02:31:15 +03:00
zmiao
0fa485092e Add support for polygon in distance expression 2020-04-30 02:31:15 +03:00
Chloe Krawczyk
4908bc1de7 update license file (#285) 2020-04-29 12:15:42 -07:00
Kevin Li
6fd498ed16 Add set and get api for volatile and minimumTileUpdateInterval in Source (#355)
* Add set and get api for Volatile and minimumTileUpdateInterval in Source

* Format codes.
2020-04-29 20:49:35 +08:00