Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Bail if setting user dot to invalid location #1925

Merged
merged 1 commit into from
Jul 24, 2015
Merged

Conversation

1ec5
Copy link
Contributor

@1ec5 1ec5 commented Jul 23, 2015

Just like -[MGLMapView locationManager:didUpdateToLocation:fromLocation:] does.

Fixes #1912.

/cc @incanus @bsudekum

@1ec5 1ec5 added bug iOS Mapbox Maps SDK for iOS prerelease-os labels Jul 23, 2015
@1ec5 1ec5 self-assigned this Jul 23, 2015
@1ec5 1ec5 added this to the v0.6.0 milestone Jul 23, 2015
@incanus
Copy link
Contributor

incanus commented Jul 23, 2015

👍

Avoid passing invalid locations along to the map view delegate or user location annotation.

Also, If the user wants to visit the Prime Meridian or Equator, that’s their prerogative. Mapbox GL should show them where they’re at. Null Island is a different story.

Fixes #1912.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug iOS Mapbox Maps SDK for iOS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants