Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to Plot (show) user location on Image? iOS

So here is task i need to get done on iOS:

Show User's Current Location on an Image like this:

enter image description here

Yes, like this Image!

So few things one will notice as soon as one look at it. Its Tilted. It's headings are Off. You can see horizon..!

Lets say,

  • I have location coordinates for corners of this image.
  • I have angle at which this image is tilted. (e.g 50°)
  • I have heading angle of the image. (e.g -170° North, which means its about 10° South-West, correct me if im wrong.)
  • And i have Zoom level on which this image would have been zoomed if it was on Google Maps/Google Earth. (e.g 14 zoom level - out of 20)

But thats the task, i need to show users location on such images. Just like in "Google Earth".

Can anyone give me heads up to accomplish this task?

Thank you everyone. :)

like image 250
Haris Hussain Avatar asked Sep 25 '12 11:09

Haris Hussain


1 Answers

Given the information you have, sounds like you can use line-plane intersection to solve your problem.

like image 51
bertobot Avatar answered Oct 13 '22 20:10

bertobot