メインコンテンツまでスキップ

Directions API プレイグラウンド

Mapbox Directions APIは、 mapbox/driving-traffic, mapbox/driving, mapbox/walking, mapbox/cyclingの4つの異なるMapboxルーティングプロファイルを使用して、ターンバイターンの指示を生成します。

Directions APIリクエストを生成するには、各パラメーターの値を入力するか、プレイグラウンド上の地図をクリックして地図上に経路を描画します。

Directions API プレイグラウンド
Parameters
from your account page
up to 25 longitude,latitude waypoints.
pencil
pencil
routing profile
Optional parameters
engineenable ev routing
return alternative routes
local time at origin
geometriesformat of the returned geometry
enable turn-by-turn instructions
excludeexclude the following road types
continue in the same direction of travel
overviewtype of geometry
annotationsadditional metadata
notificationswarnings along the route
Click the map to add waypoints
Request URL
GET: https://api.mapbox.com/directions/v5/{profile}/{coordinates}
Response
You haven't created an API request yet.
このplaygroundは役に立ちましたか?