diff options
author | Jason Wray <jason@mapbox.com> | 2017-07-31 16:18:24 -0400 |
---|---|---|
committer | Jason Wray <jason@mapbox.com> | 2017-07-31 17:55:49 -0400 |
commit | c36e08b97658c07bb74cd950942ff6bcd98fdb06 (patch) | |
tree | 88b665b2fd7f10c5e16c2284b0e2bf490787775c /platform/ios/CHANGELOG.md | |
parent | 9c01cbc537f17f886bce45ce5927bef8a6c50d63 (diff) | |
download | qtlocation-mapboxgl-c36e08b97658c07bb74cd950942ff6bcd98fdb06.tar.gz |
Return an invalid `coordinate` when `location` is nilupstream/9639-ianthetechie-cllocation-nil
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.
Diffstat (limited to 'platform/ios/CHANGELOG.md')
-rw-r--r-- | platform/ios/CHANGELOG.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/ios/CHANGELOG.md b/platform/ios/CHANGELOG.md index 43df49a9ac..2be8c56d06 100644 --- a/platform/ios/CHANGELOG.md +++ b/platform/ios/CHANGELOG.md @@ -2,6 +2,10 @@ Mapbox welcomes participation and contributions from everyone. Please read [CONTRIBUTING.md](../../CONTRIBUTING.md) to get started. +## 3.6.2 + +* Fixed an issue where `MGLUserLocation.location` did not follow its documented initialization behavior. This property will now properly return `nil` until the user’s location has been determined. ([#9639](https://github.com/mapbox/mapbox-gl-native/pull/9639)) + ## 3.6.1 * Reduced the size of the dynamic framework by optimizing symbol visibility. ([#7604](https://github.com/mapbox/mapbox-gl-native/pull/7604)) |