ios - Map out longitude and latitude -


i have "map" shows poi's defined longitude , latitude. can somehow figure out these 2 values put dot representing poi relative user's position ? have thought this:

let's user's position longitude = 12.3456789 , latitude = 98.7654321 , shop longitude = 12.2345678 , latitude = 98.6543210. (imaginary values) possible map these shops onto rectangular area (just google maps) ?

i using ios, if have references helpful if c oriented, java , obj-c should ok too.

use page learn lat long calculations. apple things, if use cllocation can use distancefromlocation method.

once have distances , angles want normalise distances unit circle easier map coordinate system of view. add subviews represent each location , set positions based on normalised distance , angle center (which represents user), or implement drawrect , draw lines / circles show positions.


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

html - Unable to style the color of bullets in a list -

c# - must be a non-abstract type with a public parameterless constructor in redis -