Mapbox
参考:
サービス/ソフトウェア/機能
- Tiling Service
- Mapbox Studio
- Mapbox Streets
- Mapbox Outdoors
- Mapbox Satellite
- Mapbox Light
- Mapbox Dark
参考:
価格
- SDK を利用する場合:セッションあるいはユーザー単位の課金
- API のみを利用する場合:リクエスト単位の課金
Tilequery API
- Up to 100,000 Monthly requests: Free
- 100,001 to 500,000: $1.50 per 1,000 requests
Static Images API
- Up to 50,000 Monthly requests: Free
- 50,001 to 500,000: $1.00 per 1,000 requests
Static Tiles API
- Up to 200,000 Monthly requests: Free
- 200,001 to 2,000,000: $0.50 per 1,000 requests
参考:
Maps-related APIs | Mapbox [Official]
Pricing – Maps | Mapbox [Official]
Access Tokens
「Account > Access tokens」で確認及び作成を行う。(→ https://account.mapbox.com/access-tokens/)
参考:
Access Tokens | Mapbox Help [Official]
スタイル
streets-v11
outdoor-v11
light-v10
dark-v10
satellite-v9
satellite-streets-v11
参考:
Styles | Mapbox API [Official]
Static Tiles
https://api.mapbox.com/styles/v1/{username}/{style_id}/tiles/{tilesize}/{z}/{x}/{y}?access_token=pk.xxxABC123xxx
タイルサイズ
- 512 (デフォルト)
- 256
参考:
Static Tiles | Mapbox API [Official]
Open Layers map rendering tiles incorrectly – Stack Overflow
Raster Tiles
https://api.mapbox.com/v4/{tileset_id}/{zoom}/{x}/{y}.{format}?access_token=pk.xxxABC123xxx
参考:
Raster Tiles | Mapbox API [Official]
Raster Tiles API | Mapbox Help [Official]
廃止された API を新 API に移行する
参考:
Migrating to the modern Static Images API | Mapbox Help [Official]
Deprecating Studio Classic styles | Mapbox Blog
Unity SDK
参考:
Maps SDK for Unity – 3D Worlds, AR, & POIs | Mapbox [Official]
エラー
参考: