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

Bail if setting user dot to invalid location - #1925

Merged
1ec5 merged 1 commit into
masterfrom
1ec5-user-dot-1912
Jul 24, 2015
Merged

1ec5 merged 1 commit into
masterfrom
1ec5-user-dot-1912

Conversation

@1ec5

@1ec5 1ec5 commented Jul 23, 2015

Copy link
Copy Markdown
Contributor

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

incanus commented Jul 23, 2015

Copy link
Copy Markdown
Contributor

👍

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