Commit Graph

14214 Commits

Author SHA1 Message Date
Alexander Shalamov
d4149ea5f1 [android] Generate style code for symbol-sort-key 2019-04-17 15:04:08 +03:00
Alexander Shalamov
905ca29866 [core] Enable 'symbol-sort-key' layout property and generate style code 2019-04-17 15:04:08 +03:00
Alexander Shalamov
e329492f0f [core] Add 'auto' enum value to symbol-z-order layout property 2019-04-17 15:04:08 +03:00
tobrun
d89b13f955 [android] - unify has surface state handling 2019-04-17 11:40:15 +02:00
Julian Rex
425553646b [ios] Ensure glFinish is called when going into the background, and block rendering in the background (#14439) 2019-04-16 22:49:34 -04:00
tobrun
395f17f615 [android] - circle with radius expressed in physical measurement using turf. 2019-04-16 17:49:56 +02:00
Ł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
Mikhail Pozdnyakov
4bc79cf4ff Use emplace_hint for inserting render items 2019-04-12 16:17:57 +03:00
Mikhail Pozdnyakov
feaff9260e [core] Order render items properly across several sources 2019-04-12 16:17:57 +03: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
Mikhail Pozdnyakov
8faf47ab5e [core] Pass only visible render layers to source in renderer
This simplifies the code and make it slightly more performant.

Also, this change enables initialization the `RenderTile.used`
field from inside the source (currently done in render layers).
2019-04-09 13:04:21 +03:00
Łukasz Paczos
f22c014b91 [android] check for Mapbox#INSTANCE when initializing the MapView 2019-04-09 10:52:24 +02:00
Ansis Brammanis
104091cd93 fix firing onStyleImageMissing after sprite has loaded (#14369) 2019-04-08 16:28:55 -04: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
Alexander Shalamov
300c91b46a [core] Move should not call destructors 2019-04-05 22:35:04 +03: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