Commit Graph

6697 Commits

Author SHA1 Message Date
Łukasz Paczos
0adfddfbda [android] bump gestures library to v0.4.1 2019-04-16 17:13:45 +02:00
tobrun
278d856372 [android] - program against NativeMap interface 2019-04-16 15:16:07 +02:00
tobrun
58da07b563 [android] - circle with radius expressed in physical measurement using turf. 2019-04-16 11:59:42 +02:00
tobrun
57512a9100 [android] - provide default navigation experience for singleInstance activities 2019-04-16 11:33:12 +02:00
Fabian Guerra Soto
a8526b4c91 [ios, macos] Fix MGLSymbolStyleLayer.text localization issue. (#14405)
Fixed an MGLSymbolStyleLayer.text localization bug caused by the introduction of MGLAttributedExpression object. The localization parsing was ignoring the latter.

* [ios, macos] Fix a localization issue.

* [ios, macos] Add formating expressions localization test.

* [ios, macos] Update MGLSymbolStyleLayer.text documentation.
2019-04-15 13:54:53 -07:00
tobrun
0ac95bd994 [android] - add style image missing binding integration, add synchronous
image overloads to style
2019-04-15 14:24:02 +02:00
tobrun
a209714112 [android] - update license file for mapbox-java update 2019-04-15 12:53:53 +02:00
tobrun
091ec30c2b [android] - update mapbox-java submodule 2019-04-15 12:53:53 +02:00
tobrun
3b18b070bf [android] - update mapbox java to v4.6.0 2019-04-15 12:53:53 +02:00
Nadia Barbosa
2ee967a036 [ios, macos] Premultiply color values for mgl_color
Fixes https://github.com/mapbox/mapbox-gl-native/issues/14329
2019-04-12 11:07:46 -07:00
tobrun
19c6010ff2 [android] - allow snapshot generation without overlain view content 2019-04-12 19:46:31 +02:00
tobrun
714b2bcdc6 [android] - update changelog for v7.3.1 release 2019-04-12 16:21:16 +02:00
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
Konstantin Käfer
e95bf4dd9b [ios] run glFlush when reducing memory and don't reduce memory while in background (#14383) 2019-04-11 09:57:35 -04: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
Lloyd Sheng
8c5c4dd565 [ios] Fix issue wrong position of attribution dialog after rotation (#14185)
* Fix issue #12897
2019-04-11 16:48:53 +08:00
Julian Rex
82b5d8e5c7 [ios] Updated podspecs for v4.11.0-alpha.2 (#14391) 2019-04-10 19:13:49 -04:00
Randall Lee
1bd23e2182 [iOS] Events submodule update (#14388)
* [iOS] Update Events submodule to v0.9.3

Internal change -- shouldn't require changelog notes.
2019-04-10 17:50:40 -04:00
Minh Nguyễn
0982efe830 [macos] Fixed Auto Layout warnings
Added constraints to the offline CJK checkbox and updated constraints around it.
2019-04-10 14:37:38 -07:00
Minh Nguyễn
1567281ee8 [macos] Fixed offline CJK checkbox outlet connection 2019-04-10 14:37:38 -07:00
Fabian Guerra Soto
2f0af0e8f4 [ios] Deactivate MGLMapView IBDesignable (#14379)
Removed MGLMapView's IBDesignable attribute. The map's view render attributes
uses GL, making changes through the inspectables were not reflected in the storyboard
and were causing IB crashes.

* [ios] Deactivate MGLMapView IBDesignable.

* [ios] Remove IBDesignable agent code.

* [ios, macos] Remove NSProcessInfo category from iOS.
2019-04-10 13:01:59 -07:00
Jason Wray
7bfb9c9658 [ios] Update mapbox/jazzy-theme 2019-04-10 12:38:36 -07:00
Jason Wray
264db54f10 [ios, build] Install latest jazzy, if not already installed 2019-04-10 12:38:36 -07:00
Jason Wray
d04b4844dd [ios, build] Bump to jazzy 0.9.6 2019-04-10 12:38:36 -07:00
Osana Babayan
5c61e2cf3e [android] release 7.4.0-alpha.2 changelog (#14387) 2019-04-10 12:10:14 -04:00
Fabian Guerra Soto
8389e746b6 [ios, macos] Add Mapbox Maps SDK metrics manager. (#13997)
Added MGLSDKMetricsManager to keep track of SDK related events such as tile download times.

* [ios, macos] Add tile download performance event.

* [ios, macos] Modify the performance event format.

* [ios, macos] Add Mapbox Maps SDK events manager.

* [ios, macos] Remove events delegate.

* [ios, macos] Remove deprecated macro.

* [ios, macos] Rename MGLEventsManager to MGLMetricsManager.

* [ios, macos] Make MGLMetricsDelegate follow delegate convention.

* [ios, macos] Remove mbgl-filesource target dependency on MGLMetricsManager.

* [ios, macos] Update metrics manager documentation.

* [ios, macos] Add device metadata.

* [ios, macos] Rename MGLMetricsManager to MGLSDKMetricsManager.
2019-04-09 16:10:14 -07: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
Konstantin Käfer
8f331f5ae3 [core] refactor ThreadLocal backend 2019-04-08 14:41:16 +02:00
Nadia Barbosa
9c8ee53cd8 Bump Podspecs & changelog for ios-v4.10.0-beta.3 2019-04-05 15:48:50 -07: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
3ceabcd3ec [core] clang-tidy fixes 2019-04-05 11:49:17 +02:00
Konstantin Käfer
1d58850d0c [core] remove Renderer::flush 2019-04-05 11:49:17 +02: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
Konstantin Käfer
be3b5917c1 [core] add generic base class for renderbuffers 2019-04-05 11:49:17 +02:00
Konstantin Käfer
839f4687aa [core] gl::RenderbufferType -> gfx::RenderbufferPixelType 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