diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2017-04-06 08:28:28 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2017-04-06 09:22:51 -0700 |
commit | ab6185fdc343448d3b6cbfc5e2bc91b5242fdf9f (patch) | |
tree | 71bf3a090c01570dc7f28899928dade0ed1424f0 /platform/darwin/src/MGLPointCollection.mm | |
parent | 16a2839e23d42d4640ef028d62dc01322a0d2e5a (diff) | |
download | qtlocation-mapboxgl-ab6185fdc343448d3b6cbfc5e2bc91b5242fdf9f.tar.gz |
[ios, macos] Streamlined coordinate validation
Replaced preflight checks in MGLLatLngFromLocationCoordinate2D() with a try-catch block that relays exceptions raised by mbgl. De-inlined the function because it’s no longer trivial.
Diffstat (limited to 'platform/darwin/src/MGLPointCollection.mm')
0 files changed, 0 insertions, 0 deletions