Commit Graph

10769 Commits

Author SHA1 Message Date
Thiago Marcos P. Santos
9c4071fe86 [core] Remove database on schema downgrade
Previously we were throwing an exception.
2017-08-29 14:08:30 -04:00
Ian Wagner
e78620c705 [ios] Set location to nil until the user's location is determined
The documentation for the `location` property states that "This property contains `nil` if the map view is not currently showing the user location or if the user’s location has not yet been determined." The iOS SDK presently returns a garbage value, which has some rather annoying consequences when the value should logically be nullable. This change should rectify the issue.

With _location no longer initialized to an invalid coordinate, trying to access `_location.coordinate` when `_location == nil` will return `0, 0`, which is a valid coordinate.
2017-08-28 16:41:55 -04:00
Jason Wray
a7f06366d2 [ios] Support iOS 11 location usage descriptions 2017-08-28 12:15:11 -04:00
Jason Wray
5cad92cc33 [ios] Print Xcode and SDK version during packaging 2017-08-25 16:12:00 -04:00
Konstantin Käfer
1f5a0ec48b [build] Don't fail hard for unknown warning groups 2017-08-25 15:37:13 -04:00
Konstantin Käfer
fb07beebb4 [build] Don't use maybe-uninitialized and misleading-indentation in Clang, since they're not implemented there
Cherry-pick of d03fd0dce2.
2017-08-25 15:36:30 -04:00
Jason Wray
b2fd7b680c [ios] Fix heading update loop
Updating CLLocationManager.headingOrientation triggers a new heading update, even if there was no actual change in its value.
2017-08-24 12:03:38 -04:00
Jason Wray
acb8199d32 [ios] Document annotations-as-features limitations w/feature querying
Also move visibleAnnotations next to visibleAnnotationsInRect:.
2017-08-21 12:13:47 -04:00
Tobrun Van Nuland
8d04e099c7 [android] - update config for next reelease 2017-08-19 11:29:38 +02:00
Tobrun Van Nuland
6de3e6fe70 [android] - update changelog for v5.1.3 2017-08-19 11:29:38 +02:00
Cameron Mace
78633322d7 bumped MAS version number 2017-08-19 11:29:38 +02:00
Tobrun Van Nuland
341165cef4 [android] - avoid IndexOutOfBounds when destroying map object 2017-08-19 11:29:38 +02:00
Tobrun Van Nuland
f356ff4b00 [android] - enable location change animation of MyLocationView by default 2017-08-19 11:29:38 +02:00
Tobrun Van Nuland
a83c19e954 [android] - re-add projectedMeters 2017-08-19 11:29:38 +02:00
Tobrun
2802c55bd5 [android] - create smallest possible LatLngBounds when visible region crosses the dateline 2017-08-19 11:29:38 +02:00
Tobrun
b4cb719ceb [android] - provide compability with Samsung devices forcing 3-4 array matrix length 2017-08-19 11:29:38 +02:00
Tobrun
05cbd4e31d [android] - keep state of initial overlain views margins (#9391) 2017-08-19 11:29:38 +02:00
Fabian Guerra Soto
001988fba1 [ios] Update pods spec for iOS v3.6.2 (#9806) 2017-08-18 15:38:16 -04:00
Jason Wray
b5b84ef52d [ios] Warn about using MGLFeature-conforming annotations w/querying 2017-08-18 13:24:56 -04:00
Jason Wray
cd36ec00bc [ios] Add debug descriptions to shapes and features 2017-08-18 12:26:25 -04:00
John Firebaugh
1188707dc3 [core] Use separate attribute component for line normals
Selective cherry pick of 822df3dd51
2017-08-18 11:43:24 +02:00
Fabian Guerra Soto
c7d7319c77 [ios, macos] Fix querying features returning nil when features available. (#9784)
* [ios, macos] Fix querying features returning nil when features available.

* [ios, macos] Copyedited changelogs

Also, macOS SDK v0.5.1 has yet to be released, because none of the changes that went into iOS SDK v3.6.1 were relevant to macOS.
2017-08-17 19:19:06 -04:00
Nadia Barbosa
5d641f4d68 [ios] Add test for code snippet added to MGLPolyline doc change 2017-08-09 10:12:16 -04:00
Nadia Barbosa
2e24562ee8 [ios] Update MGLPolyline docs about antimeridian crossings 2017-08-09 10:12:16 -04:00
Jason Wray
1394bfb554 [ios] Fix user location horizontal accuracy ring inaccuracy
Accuracy was off by +25%, depending on latitude.
2017-08-07 15:00:09 -04:00
Jason Wray
01d801c8c7 [ios] Update READMEs to link to help page 2017-08-04 15:47:42 -04:00
Fredrik Karlsson
6a8ed6f83a [ios] expose setCamera with edge padding 2017-08-03 07:44:44 -07:00
Jason Wray
a040247505 [ios] Clean-up iosapp project 2017-08-02 18:48:11 -04:00
Jason Wray
55d31922fc [ios] Add iosapp Settings.app force touch quick action shortcut 2017-08-02 18:46:13 -04:00
Konstantin Käfer
141cd32804 [ios] remove Secure Transport exception from demo app 2017-08-02 18:44:31 -04:00
Tobrun Van Nuland
ebab0c1a1b [android] - release android v5.1.2, update config 2017-08-02 13:37:15 +02:00
Fabian Guerra Soto
afd4df9dbc [ios] adapt Mapbox Streets–sourced layers for user preferred language (#9582)
* [ios] Update label localization

* [ios, macos] Move MGLVectorSource+MBXAdditions.h to darwin.

* [ios, macos] Adapt Mapbox Streets to the user preferred language.

* [ios, macos] Clarify style localization documentation.

* [ios, macos] Update localization examples

* [ios, macos] Add style language reset to original.

* [ios, macos] Update changelogs.

* [ios, macos] Rename Vector Source Additions to MGL standard.

* [ios, macos] Add suport for stop localization.
2017-08-01 16:14:41 -04:00
Tobrun Van Nuland
a523b710ac [android] - update changelog for release v5.1.2 2017-08-01 22:00:46 +02:00
Tobrun
f8c418e2b1 [android] - bump MAS dependency (#9671) 2017-08-01 22:00:46 +02:00
Tobrun
f5b48a5d06 [android] - remove preview image integration (#9657) 2017-08-01 22:00:46 +02:00
Tobrun
e4a61426bf [android] - try/catch initalisation of Telemetry (#9658) 2017-08-01 22:00:46 +02:00
Tobrun
21bbf5a9e0 [android] - fix OnCameraMoveStartedListener typo (#9664) 2017-08-01 22:00:46 +02:00
Fabian Guerra
9a9c433085 [ios] Bump podspec to 3.6.1 2017-07-28 11:31:37 -07:00
Fabian Guerra Soto
b0bae6d1dd [ios] tilt gesture type fix (#9642)
* [ios] Change function:angleBetweenPoints return type

* [ios] Update changelog
2017-07-28 10:22:16 -07:00
Pablo Guardiola
caba393c0e [android] fix compass direction (Transform::getCameraOptions returns counterclockwise angle after transform.invalidateCameraPosition() which needs to be transformed to a clockwise bearing) (#9632) 2017-07-28 12:06:53 +02:00
Tobrun Van Nuland
9b770f382e [android] - build snapshots from release branch for v5.1.2 2017-07-28 12:06:53 +02:00
Tobrun Van Nuland
009da507fa [android] - don't query for shape annotations if none were added 2017-07-28 12:06:53 +02:00
Pablo Guardiola
635a3f21a0 [android] fix added to map checks because LongSparseArray#indexOfKey could return a negative number when the specified key is not mapped (#9602) 2017-07-28 12:06:53 +02:00
Tobrun Van Nuland
beaee9349f [android] - validate Marker before opening InfoWindow 2017-07-28 12:06:53 +02:00
Tobrun Van Nuland
0eee31e212 [android] - harden click handling of shape annotations 2017-07-28 12:06:53 +02:00
Pablo Guardiola
5e6ca3ada2 [android] fix geojson source proguard issue (#9569) (#9577) 2017-07-28 12:06:53 +02:00
Fabian Guerra Soto
6d629597d7 [ios] Make tilt gesture recognizer recognizable only with two horizontal fingers (#9571)
* [ios] Make tilt gesture recognizer recognizable only with two horizontal fingers

* [ios] Make tilt gesture recognizer tolerance degree less restrictive
2017-07-27 15:16:39 -07:00
danielamitaysc
0cdef85798 [ios] Proper limiting behavior when trying to zoom out fully
- Bail from quick zoom if new zoom is same as old zoom
- Allow pinch gesture at minZoom to still move the map
2017-07-27 17:34:09 -04:00
Antonio Zugaldia
fa0b307680 [android] Disable program caching on Adreno 3xx, 4xx, and 5xx GPUs due to known bugs (#9625) 2017-07-27 09:20:40 -04:00
Jason Wray
82c2d4b3ca [build] Include bcsymbolmap files in iOS dynamic framework package 2017-07-26 15:49:23 -04:00