Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
特定の距離にあり、別の場所から向かっている場所を特定しようとしています。iOSのCoreLocationの緯度と経度を使用しています。
ありがとう。
lat2 = asin(sin(lat1)*cos(d/R) + cos(lat1)*sin(d/R)*cos(θ)) lon2 = lon1 + atan2(sin(θ)*sin(d/R)*cos(lat1), cos(d/R)−sin(lat1)*sin(lat2))
Rは、希望する単位での地球の半径です。(6371 km)
R