1

How to convert CGPoint acquired from MKMapKit via

[self.myMapView convertCoordinate:userLocation.coordinate toPointToView:self.view] 

to SpriteKit's SKView coordinate system? (SKView is also full screen as is MapKit's view).

Amit Verma
  • 40,709
  • 21
  • 93
  • 115
y0gie007
  • 727
  • 1
  • 7
  • 11
  • 4
    Note that the toPointToView method _returns_ a CGPoint (given a _CLLocationCoordinate2D_). I'm not familiar with SpriteKit but maybe the SKView method convertPoint:toScene: will help (after you've gotten the CGPoint from map view)? –  Dec 14 '13 at 20:46

0 Answers0