Skip to content

Conversation

@27pchrisl
Copy link

Hi!

I was using @capacitor/geolocation and found that for iOS it uses the "course" from CLLocation instead of the "heading" from CLHeading. This means you only get the direction of movement, and not the compass bearing.

Because that library uses this library, I've added the support to this library to add these values first.

This change will make the location regenerate every time the compass moves more than 1 degree (as fast as I can tell that's how the iOS Compass app updates as well).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant