Commit Graph

11720 Commits

Author SHA1 Message Date
Tobrun
c8a96bb24f [android] - blacklist adreno 2xx for VAO support 2018-02-05 12:03:19 +01:00
Łukasz Paczos
c636b382e8 [android] - log lack of permissions only if enabling location 2018-02-05 12:03:19 +01:00
Martin Hellwig
cecfa18346 Implement new bearingTrackingMode GPS_NORTH_FACING 2018-02-05 12:03:19 +01:00
Fabian Guerra
0ebc2ee91f [ios, macos] Fix MGLMapSnapshotter pointForCoordinate returns an scaled point. 2018-01-25 10:06:54 -05:00
Konstantin Käfer
3f7c30f9d3 [core] fix style parsing crash when a layer's paint property is not an object 2018-01-23 13:56:42 -08:00
Tobrun
14f3f86f63 [android] - release android v5.3.2, bump snapshot version 2018-01-23 20:26:53 +01:00
Tobrun
80789ab2c8 [android] - rollback fragment flash changes for ViewPager support 2018-01-23 12:09:48 +01:00
Tobrun
938f087e38 [android] - update changelog for v5.3.2 2018-01-23 12:09:48 +01:00
Tobrun
dc8d4e8b0f [android] - handle null Call instances in HttpRequest 2018-01-23 12:09:48 +01:00
Tobrun
6e5ddfae95 [android] - allow setting an OkHttpClient 2018-01-23 12:09:48 +01:00
Łukasz Paczos
c3068ec397 Camera callbacks for velocity animated movements (#10925)
* [android] camera listeners double invocation fix

* [android] invoking camera change callbacks for velocity animated movements
2018-01-23 12:09:48 +01:00
Łukasz Paczos
06f3f8fddb [android] do not overwrite user-set focal point when tracking location (#10910) 2018-01-23 12:09:48 +01:00
Tobrun
82eabf18b1 [android] - retain configuration for user provided focal point and deselect markers on tap 2018-01-23 12:09:48 +01:00
Tobrun
4a2ced5651 [android] - add filesource activation/deactivation to OfflineRegion status and deletion 2018-01-23 12:09:48 +01:00
Tobrun
b03c226373 [android] - check if the render surface has been correctly created before destroying the map 2018-01-23 12:09:48 +01:00
Tobrun
46ace8d2c7 [android] - validate zoom level before creating mapbox telem event 2018-01-23 12:09:48 +01:00
Minh Nguyễn
2411fb31b7 macos-v0.6.1 2018-01-16 09:24:42 -08:00
Minh Nguyễn
3629a3cd74 [macos] Added dates to changelog 2018-01-16 09:24:42 -08:00
Konstantin Käfer
3c99bfdd1d [core] update vector-tile dependency to 1.0.1 2018-01-11 11:40:31 -08:00
Fabian Guerra
9e96aa1923 [ios] Bump podspec to v3.7.3 2018-01-10 15:48:01 -06:00
Fabian Guerra Soto
0542ece0bf [ios] Fix the layout constraints on iOS 11 for iPhone X (#10858)
* [ios] Fix the layout constraints on iOS 11 for iPhone X for the bottom ornaments.

* WIP adding tests for layout of map view attribution logo and other ornaments

* Rename

* First pass at tests for mapview ornament layout

* Additional code changes from call with Fabian and Jason

* [ios] Fix ornaments insets margin space.

* [ios] Fix map view layout test for pre iOS 11.

* [ios] Refactor MGLMapView ornaments layout constraints for iOS 11.

* [ios] Remove NSLogs from MGLMapViewLayoutTests
2018-01-10 14:28:55 -06:00
Tobrun
a3c497f100 [android] - bump snapshot version to 5.3.2 2018-01-10 14:28:04 +01:00
Tobrun
24bcb75823 [android] - update changelog for 5.3.1 release 2018-01-10 13:14:04 +01:00
tobrun
40316ddad0 [android] - use the correct cancelable callback after posting the cancelation 2018-01-10 13:14:04 +01:00
Tobrun
0b0f481e70 [android] - detect genymotion virtual machines when determening attributes for eglConfig 2018-01-10 13:14:04 +01:00
Tobrun
c66c8e3de1 [android] - include request urls when logging out failed http requests 2018-01-10 13:14:04 +01:00
Tobrun
8b1303a183 [android] - RTL support 2018-01-10 13:14:04 +01:00
tobrun
1985bb83f4 [android] - refactor surface destruction NPE fix 2018-01-10 13:14:04 +01:00
tobrun
ed84dca334 [android] - use US local when converting between int color and RGBA String. 2018-01-10 13:14:04 +01:00
Łukasz Paczos
a32fddf6dd [android] getting bitmap from drawable fix 2018-01-10 13:14:04 +01:00
Konstantin Käfer
ce817a57f6 [core] blacklist binary program loading for Vivante GC4000 GPUs 2018-01-09 11:41:55 -08:00
Pablo Guardiola
cc25d6911b [android] fix sending more than once double tap event on a single double tap gesture (#10854) 2018-01-08 10:32:57 +01:00
Minh Nguyễn
4731e0c7f1 [ios, macos] Updated changelogs 2018-01-05 18:54:27 +00:00
Minh Nguyễn
4f194ab15c [macos] Fixed macosapp deployment 2018-01-05 06:39:26 +00:00
Jesse Bounds
9c9ad538f8 [ios] Dispatch location auth status check to background
This attempts to work around reports of repeated calls to [CLLocationManager authorizationStatus] blocking the main thread by dispatching it to the background, serial queue that is already available in MGLMapboxEvents.

This also adds a guard to the handler for the user defaults change event so that the call to pause or resume if required is done only if a user defaults value changes that would require an update to the pause / resume state.

The guard works by utilizing two new state variables that keep track of the previous values for account type and metrics enabled configuration variables. The call to pause/resume is only done if the latest relevant values in the user defaults dictionary are actually different than the previous ones.

The default values for the new state variables assume an account value of 0 and metrics enabled == true so there can be a small inefficiency if a user prevously opted out of telemetry, kills the app, and restarts it. In that case, the pause/resume method would get invoked one time when it would not technically need to. This should not be an issue in practice though.
2018-01-04 10:38:52 -08:00
Andrew Kitchen
760ef23ac3 [ios, macos] Updates documentation with default CJK font recommendations
Also updates the font to use for rendering CJK ideographs in our sample
apps to `PingFang TC`, as simply specifying `PingFang` was always
triggering iOS's font fallback behavior.

[Fixes #10675]
2018-01-03 11:37:53 -06:00
Fabian Guerra
cbb9002d4f [ios, macos] Update mode.hpp file path 2018-01-03 11:37:53 -06:00
Chris Loer
e8abb8c81a [ios,macos] Revert ideographic->ideograph name change.
Original GL JS name was meant to represent "font family to use for locally generating ideographs", but "ideographic font family" communicates a similar intent more concisely.
2018-01-03 11:37:53 -06:00
Chris Loer
b94929ca08 [ios,macos] Update docs to use Apple-friendly "PingFang" font example. 2018-01-03 11:37:53 -06:00
Chris Loer
45e59e4da8 [ios,macos] Remove dead/non-functioning font-weight and glyph metric code.
Add local font family to default iosapp configuration.
2018-01-03 11:37:53 -06:00
Andrew Kitchen
3fd2eb2557 [macos, ios] Adds documentation for the MGLIdeographFontFamilyName key 2018-01-03 11:37:53 -06:00
Andrew Kitchen
38bffda85a [darwin, macos] Rename Info.plist key for consistency
Also removes related dead code in macos MGLMapView.mm
2018-01-03 11:37:53 -06:00
Andrew Kitchen
314c51611c [darwin, ios, macos] Introduces an MGLRendererConfiguration class
Instructions for enabling client-side rendering of CJK glyphs live in
this header, and this class provides the rest of the values needed for
instantiating the renderer on iOS and macOS.
2018-01-03 11:37:53 -06:00
Andrew Kitchen
c1705f37fb [ios, macos] Adds support for specifying an ideographic font family name
Adding a MGLIdeographicFontFamilyName to the containing app's Info.plist
will result in CJK glyphs being rasterized on demand (#10522)
2018-01-03 11:37:53 -06:00
Chris Loer
0dc00ad877 [ios,macos] Darwin implementation of a CoreText-based LocalGlyphRasterizer.
- Changing font weight does not currently appear to be working.
 - Glyph metric extraction code not working; currently unused.
2018-01-03 11:37:53 -06:00
Konstantin Käfer
498dbf27b9 [core] don't tie Annotation geometries to Map maxzoom
Instead, geometry generation via GeoJSONVT is now bound to the hardcoded limit of the annotation tile source.
2018-01-02 20:17:15 +01:00
Minh Nguyễn
33faa3811e [macos] Renamed Mapbox macOS SDK to Mapbox Maps SDK for macOS 2017-12-22 09:12:57 -08:00
Minh Nguyễn
41022dab07 macos-v0.6.0 2017-12-22 08:42:48 -08:00
Fabian Guerra
3feeb7bdf8 [macos] Update changelog entries. 2017-12-22 08:42:48 -08:00
Minh Nguyễn
c1831229ac [ios, macos] Copyedited changelogs
macOS map SDK v0.6.0 has yet to be released.
2017-12-22 08:42:48 -08:00