Commit Graph

2706 Commits

Author SHA1 Message Date
tobrun
b4d5890c82 [android] - only perform thread checking in debug builds of the integrating app. Use constants for source when thread checking 2019-04-12 16:06:04 +02:00
tobrun
58696a0704 [android] - rework test to use query activity, fix attempt to render without surface crash 2019-04-12 13:12:31 +02:00
tobrun
6c2948d3e6 [android] - harden query invocations, move hasSurface handling to NativeMapView 2019-04-12 13:12:31 +02:00
tobrun
ecfa67bbff [android] - add javadoc indicating that query methods can return empty depending on map/surface state 2019-04-12 13:12:31 +02:00
tobrun
06541b261a [android] - reproduce downstream navigation crash with queryRendererFeatures when resuming Activity 2019-04-12 13:12:31 +02:00
Łukasz Paczos
bd5527fea7 [android] ignore equal offline region's download state updates 2019-04-11 14:58:05 +02:00
Łukasz Paczos
51daaa1e3c [android] activate the ConnectivityReceiver when starting the download 2019-04-11 14:27:01 +02:00
Osana Babayan
5c61e2cf3e [android] release 7.4.0-alpha.2 changelog (#14387) 2019-04-10 12:10:14 -04:00
Łukasz Paczos
2ee342448b [android] expose LOCATION_SOURCE constant 2019-04-09 12:26:40 +02:00
Łukasz Paczos
f20b6e0048 [android] expose LocationComponentConstants class 2019-04-09 12:26:40 +02:00
Łukasz Paczos
f22c014b91 [android] check for Mapbox#INSTANCE when initializing the MapView 2019-04-09 10:52:24 +02:00
Osana Babayan
37a8865703 [android] Avoid memory leak by making static inner classes (#14343) 2019-04-08 16:03:46 -04:00
tobrun
744ce2c026 [android] - allow resetting a custom OkHttp client to the default implementation 2019-04-08 15:13:33 +02:00
Thiago Marcos P. Santos
5a173faec1 [android] Fix build with mismatching glShaderSource signature
Not all GL implementations are following the glShaderSource signature
specified by Khronos for GLES20.

https://www.khronos.org/registry/OpenGL-Refpages/es2.0/xhtml/glShaderSource.xml
2019-04-05 18:58:58 +03:00
Langston Smith
cc3babfdb1 [android] small naming tweaks made to mention of Android Maps SDK (#14346) 2019-04-05 06:25:30 -07:00
Konstantin Käfer
5cc3d7a733 [core] move GLContextMode to RendererBackend 2019-04-05 11:49:17 +02:00
Konstantin Käfer
66c020034e [core] refactor RendererBackend 2019-04-05 11:49:17 +02:00
Konstantin Käfer
a782a6d15b [core] move BackendScope to gfx namespace 2019-04-05 11:49:17 +02:00
Alexander Eggers
ca60095071 Added getter for the field isComponentInitialized
This change is meanly because of https://github.com/mapbox/mapbox-gl-native/pull/14068 which is now throwing an exception when the component is not activated. This getter should help users to identify if the component is not activated yet to prevent usage and therefore exceptions.
2019-04-05 11:47:28 +02:00
Łukasz Paczos
03159b3589 [android] clear previous style loaded listener when setting a new style 2019-04-04 17:14:22 +02:00
Łukasz Paczos
98d3f42e18 [android] add unit tests for #13947 2019-04-04 13:42:14 +02:00
Łukasz Paczos
af74d00b05 [android] add unit tests for #14171 2019-04-04 13:42:14 +02:00
Osana Babayan
f3c3dc49e2 [android] Updated Changelog for 7.4.0-alpha.1 release (#14317) 2019-04-03 12:21:15 -04:00
Łukasz Paczos
100c9b7bc1 [android] clean up location permissions annotation 2019-04-03 12:09:13 +02:00
Łukasz Paczos
a75a78242f [android] disable leak canary during instrumentation tests 2019-04-03 10:23:55 +02:00
Osana Babayan
b6910407e8 [android] updated PerformanceEvent (#13894) 2019-04-02 12:26:36 -04:00
Łukasz Paczos
463a6b2736 [android] clear camera callbacks' message queue when the map is destroyed 2019-04-02 14:14:47 +02:00
Kevin Li
50e02666f0 Remove support v7 (#14265)
* remove support v7

* update license
2019-04-02 10:07:40 +08:00
Łukasz Paczos
c66ec867c9 [android] reset scale/rotate focal point in each step 2019-04-01 17:38:51 +02:00
Łukasz Paczos
1aa44d5451 [android] do not reset custom location gestures manager if already set 2019-04-01 17:38:51 +02:00
tobrun
3e106c3f56 [android] - LatLng#distanceTo uses TurfMeasurement#distance 2019-04-01 16:11:09 +02:00
Łukasz Paczos
ccf99cfe7e [android] add #toString override for formatted sections 2019-04-01 16:04:29 +02:00
tobrun
6a97768209 [android] - add pixel dimension annotation to public UiSettings methods 2019-04-01 12:58:43 +02:00
Łukasz Paczos
9a792ca304 [android] disable move gesture detector foreseeing the quickzoom 2019-04-01 11:29:52 +02:00
tobrun
4731f884b3 [android] - update snapshot activity example with idle listener, convert to kotlin 2019-04-01 11:13:19 +02:00
Mikhail Pozdnyakov
9fb149b261 [android] Fix style code generation if array default value is missing 2019-03-29 16:18:41 +02:00
Mikhail Pozdnyakov
9fc42b9c3c [core] auto value for 'text-justify' field 2019-03-29 16:18:41 +02:00
Mikhail Pozdnyakov
2b9a52f5e4 [core] Enable 'text-radial-offset' property 2019-03-29 16:18:41 +02:00
Mikhail Pozdnyakov
a6d8742e63 [core] Enable text-variable-anchor property 2019-03-29 16:18:41 +02:00
tobrun
43f27e837c [android] - use different Activity launchmode setup.
This faills on pre 6.0 and post 9.0 Androdid OS
versions. Stabilize tests. Ignore telemetry dialog test.
2019-03-29 13:30:05 +01:00
tobrun
21155772ef [android] - fix thread assertion issue while running instrumentation tests 2019-03-28 15:54:24 +01:00
Sudarsana Babu Nagineni
7af00a404f [core] Include pixelRatio property in MapOptions
Move pixelRatio property from Map constructor to MapOptions.
2019-03-28 16:41:15 +02:00
Sudarsana Babu Nagineni
1cc1d4ea08 [core] Add setter/getter for size property in MapOptions 2019-03-28 16:41:15 +02:00
Łukasz Paczos
101cc939dd [android] changelog for v7.3.0 2019-03-28 12:29:13 +01:00
tobrun
0ec8945450 [android] - remove NativeMap#update() 2019-03-27 16:30:38 +01:00
tobrun
35e4066ac7 [android] - remove request render from MapboxMap#onStart 2019-03-27 16:30:38 +01:00
tobrun
f07a24dd3d [android] - don't call OnSurfaceCreated from the main thread 2019-03-27 12:08:44 +01:00
Łukasz Paczos
36e63603ec [android] provide more information when the OfflineManager test times out 2019-03-26 15:24:24 +01:00
Sam Fader
81c48bbca7 quick typo fix for OnDidFinishRenderingMapListener method (#14209) 2019-03-25 09:05:19 -07:00
Bruno de Oliveira Abinader
067ff28d0a [core] ResoureOptions explicit copy via clone() 2019-03-25 13:15:09 +02:00