summaryrefslogtreecommitdiff
path: root/platform/darwin/mbgl
diff options
context:
space:
mode:
authorJason Wray <jason@mapbox.com>2017-07-31 16:18:24 -0400
committerJason Wray <jason@mapbox.com>2017-07-31 17:55:49 -0400
commitc36e08b97658c07bb74cd950942ff6bcd98fdb06 (patch)
tree88b665b2fd7f10c5e16c2284b0e2bf490787775c /platform/darwin/mbgl
parent9c01cbc537f17f886bce45ce5927bef8a6c50d63 (diff)
downloadqtlocation-mapboxgl-upstream/9639-ianthetechie-cllocation-nil.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/darwin/mbgl')
0 files changed, 0 insertions, 0 deletions