Peng Liu
f0d3d459b8
[android] Keep CompassView's state up to date when compass is enabled. ( #15606 )
...
* [android] Keep CompassView's state up to date when compass is enabled.
* [android] Add unit test for updating compass view.
* [android] Add change log.
2019-09-12 11:59:56 +03:00
Tobrun
a691db5343
[android] Call callback.onFinish() when camera is already at the correct position
...
[android] Call callback.onFinish() when camera is already at the correct position
2019-09-04 18:13:31 +03:00
Mikhail Pozdnyakov
3b5a43c722
[core] Enable text-offset with variable label placement
...
Port of https://github.com/mapbox/mapbox-gl-js/pull/8642
2019-09-03 11:45:17 +03:00
Tobrun
0fa5944f39
Add number format expression ( #15424 )
...
* [android] add number format expression
2019-09-02 14:48:11 +02:00
Langston Smith
29b11a5037
[android] Javadoc changes to clarify OfflineManager methods ( #15519 )
2019-08-29 17:21:31 -07:00
Łukasz Paczos
becc705f05
[android] expose camera padding option
...
This removes the cached insets on the Android side, making the core TransformState the source of truth. This still leaves an option to lazily set the padding which is going to be applied only when the next camera animation is started.
2019-08-29 14:51:24 +02:00
Łukasz Paczos
6a4e431dbe
[android] do not clear native layers and sources when style is reloading
...
This prevents unnecessary layers blink when the same components are re-added after the style reload.
2019-08-29 10:38:48 +02:00
Łukasz Paczos
ec1228242b
[android] invalidate foreground icon sources even when location layer is hidden
2019-08-28 13:29:47 +02:00
tobrun
309f566800
[android] add font array attribute configuration for local ideograph font, add enable flag attribute configuration
2019-08-28 08:58:57 +02:00
Ander Conselvan de Oliveira
21632a66f8
[core] Remove programCacheDir parameter from ProgramParameters
...
Binary shader support has been removed in commit c2f974f2a5 ([core]
Remove binary shader support). This left-over parameter is not used
anywhere anymore.
2019-08-27 16:23:48 +03:00
zmiao
2a8359b028
[android] bindings for aggregated cluster properties ( #15425 )
...
* [android] bindings for aggregated cluster properties
* [android] change the parameter type for adding clusterProperty
* [android] add changelog
* remove extra emplty line
2019-08-22 18:54:31 +03:00
tobrun
81111c955b
[android] update snapshot version number to 8.4.0
2019-08-22 12:36:28 +03:00
Langston Smith
9263cdd856
[android] Updating HttpRequestUrl to separate offline requests from Maps SKU ( #15363 )
2019-08-21 09:48:36 -07:00
tobrun
ad1d48af98
[android] update javadoc on style image missing
2019-08-20 12:59:07 +03:00
tobrun
073a243862
[android] provide default font list for pre lollipop
2019-08-20 11:36:12 +03:00
Łukasz Paczos
1846c0582d
[android] synchronize TextureView EGL context creation
2019-08-19 13:32:20 +02:00
Łukasz Paczos
8e1bd18eae
[android] execute quickzoom scale change based on the Y axis delta change
...
Using finger's Y axis position allows for a linear zoom additions/deductions during the quick-zoom changes. This is in contrast to the previously used scale factor, which is based on the current span (distance from the origin) to previous span ratio and increases the closer the finger is to the origin of a gesture because the values are smaller.
The scale ratio based changes are also reliant on series of motion events' values and because the Android framework can skip some events, going back and forth during a quick-zoom might not have resulted in the same transformation. This was reproduced by the round-tripping test introduced in this commit.
2019-08-15 20:34:29 +03:00
Łukasz Paczos
eab3fbf5bf
[android] bring back scale delta span threshold when rotation is started first
2019-08-15 18:08:29 +03:00
Łukasz Paczos
acc6079b08
[android] improve rotation inertia, adjust velocity ratios for screen density
2019-08-15 18:08:29 +03:00
Łukasz Paczos
3e73e4d49f
[android] improve scale + rotation behavior
2019-08-15 18:08:29 +03:00
Łukasz Paczos
18971395d6
[android] improve scale inertia
2019-08-15 18:08:29 +03:00
Alexander Shalamov
dad43ba8fc
[android] Android bindings for new 'text-writing-mode' layout property
2019-08-13 13:32:56 +03:00
tobrun
58d7734722
[android] add fallback support to local ideograph font families, allow setting a collection of fonts
2019-08-12 14:30:07 +03:00
tobrun
9cf1746e35
[android] - load style without url or json
2019-08-01 17:40:48 +03:00
Łukasz Paczos
300f0b5980
[android] do not reinitialize camera/render mode if it hasn't changed
...
Camera/Render mode updates can be streamed from various different stateless sources and we should make sure to skip an update to a mode that's already set. This keeps the callbacks tidy and does not perform unnecessary work.
2019-07-31 18:17:16 +03:00
Łukasz Paczos
275d8ffb2b
[android] save location animation timestamp only when fed
...
When all location layer animations were reset, due to the mode change, we were recalculating the time of the animation, while we should be taking the remaining duration. Frequent recalculation requests resulted in a really short animation duration.
2019-07-31 13:06:55 +03:00
Łukasz Paczos
703c76ada2
[android] package ideographs flag in the offline definition parcel
2019-07-31 12:12:22 +03:00
Łukasz Paczos
45e5e6341e
[android] do not include CJK ideographs in the offline packs by default
2019-07-31 12:12:22 +03:00
Łukasz Paczos
f86f0226dd
[android] ensure default local ideographs font family is not overwrote
2019-07-30 13:53:03 +02:00
Łukasz Paczos
433d3fb298
[android] align gesture animation reason
2019-07-25 13:48:36 +02:00
Łukasz Paczos
dabf5d0c3a
[android] remove layers first when clearing the style
2019-07-22 16:03:53 +02:00
Tobrun
79bdce6cd4
[android] - update dependencies, target SDK, support library ( #15135 )
2019-07-19 11:46:38 +02:00
Tobrun
de667d2fe5
Merge pull request #15170 from mapbox/tvn-snapshot
...
Update snapshot version for the q release
2019-07-19 10:51:02 +02:00
Heather Stenson
fd99a6e570
[docs] Remove references to increasing offline tile limit
2019-07-18 16:27:31 -07:00
Łukasz Paczos
ac0431eac5
[android] ensure that move detector is enabled if double-tap is interrupted
2019-07-11 18:18:48 +02:00
Łukasz Paczos
11cd2220a1
[android] fix up "match" expressions docs with stop arguments
2019-07-11 15:43:03 +02:00
Łukasz Paczos
0b0d7b844a
[android] allow map panning after quick zoom is disabled but a phantom gesture is executed
2019-07-11 14:14:10 +02:00
Łukasz Paczos
afa7cea4c0
[android] ensure location shadow's gradient is greater than 0
2019-07-11 13:27:13 +02:00
Łukasz Paczos
5b02434e88
[android] remove access token's nullability annotations to not impact Kotlin interop
2019-07-11 12:59:05 +02:00
Łukasz Paczos
4348169aac
[android] allow setting a null access token in the runtime
2019-07-11 11:02:24 +02:00
Łukasz Paczos
348c437c0a
[android] throw configuration exception when accessing Mapbox services with an invalid token
2019-07-11 11:02:24 +02:00
tobrun
ee0d831a2f
[android] - introduce MapboxMapOptins facility creation method.
2019-07-08 16:33:26 +02:00
tobrun
dd16eadc38
[android] - add ktlint, optimise code for ktlint validation
2019-07-04 12:08:49 +02:00
tobrun
21f7522967
[android] - add binding integration for cache management API
2019-07-02 14:23:24 +02:00
tobrun
c5b04677f0
[android] - add setVerbosity to Logger, add LogLevel IntDef
2019-06-25 14:39:14 +02:00
Łukasz Paczos
41980af469
[android] refactor LocationComponentTest to use consistent mocking tools
2019-06-24 11:37:21 +02:00
Łukasz Paczos
fe570fb206
[android] reset location layer animators when render mode changes
2019-06-24 11:37:21 +02:00
Tobrun
24b7b413b5
[android] - limit concurrent request for Android 4.4 and below to 10 ( #14971 )
2019-06-20 17:34:39 +02:00
Łukasz Paczos
577e03f949
[android] ensure to re-enable move when quickzoom finishes
...
Because the double tap event can be canceled and stop delivering events whenever ACTION_CANCEL or ACTION_POINTER_DOWN is dispatched, we need to make the #onScaleEnd callback responsible for re-enabling the move detector as well
2019-06-20 10:28:02 +02:00
Tobrun
18885def71
[android] - optimise CameraUpdateFactory#newLatLngBounds to use camera position tilt and bearing values ( #14953 )
2019-06-19 19:51:44 +02:00