Geolib.js - 依存関係のない基本的な Geo 関数集
(github.com)距離計算、座標間の中心点の算出、座標変換、指定座標がライン/領域内にあるかの判定、最も近い座標の検索、距離順でのソート、等角航路(Rhumb line)の Bearing の算出など、Geo 関連の 2D 関数を集めたもの。
-
getDistance
-
findNearest
-
getPathLength
-
getCenter/getCenterOfBounds(coords)
-
isPointInPolygon
-
getRhumbLineBearing
-
getCompassDirection
-
orderByDistance
-
getDistanceFromLine
-
isPointInLine
-
computeDestinationPoint
まだコメントはありません。