• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: MKMapView userLocation heading & a dropped pin
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MKMapView userLocation heading & a dropped pin


  • Subject: Re: MKMapView userLocation heading & a dropped pin
  • From: "Eric E. Dolecki" <email@hidden>
  • Date: Fri, 23 Jun 2017 18:30:38 +0000

Thank you :)

On Fri, Jun 23, 2017 at 2:17 PM Marco S Hyman <email@hidden> wrote:

> > I am trying to determine whether or not the pin is in front, left, right,
> > or behind the user. I am going to perform calculations within
> >
> > func locationManager(_ manager: CLLocationManager, didUpdateLocations
> > locations: [CLLocation]) {
> >
> > I already determine distance. How might I go about doing this?
>
> The Haversine forumula will give you distance and bearing between two
> points.  I think you can use the bearing to get your desired info.
>
> Marc
>
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >MKMapView userLocation heading & a dropped pin (From: "Eric E. Dolecki" <email@hidden>)
 >Re: MKMapView userLocation heading & a dropped pin (From: Marco S Hyman <email@hidden>)

  • Prev by Date: Re: AVCaptureMovieFileOutput + encryption
  • Next by Date: Re: AVCaptureMovieFileOutput + encryption
  • Previous by thread: Re: MKMapView userLocation heading & a dropped pin
  • Next by thread: Doubled Pixels
  • Index(es):
    • Date
    • Thread