GooglePhotorealisticTiles3DProvider¶
Photorealistic 3D Tiles プロバイダ
Google Map Tiles API の Photorealistic 3D Tiles を読み込むプロバイダ。 API キーが必要である。セッション ID の管理は内部で行われる。
See¶
Extends¶
Constructors¶
new GooglePhotorealisticTiles3DProvider()¶
new GooglePhotorealisticTiles3DProvider(
resource,options?):GooglePhotorealisticTiles3DProvider
Parameters¶
| Parameter | Type | Description |
|---|---|---|
resource |
ResourceInfo |
API キーを含むリソース情報 |
options? |
Option |
プロバイダのオプション |
Returns¶
GooglePhotorealisticTiles3DProvider
Overrides¶
Accessors¶
options¶
getoptions():Readonly<Option>
このプロバイダのオプション
Returns¶
Readonly<Option>
Methods¶
init()¶
init(
options?):Promise<null|RootInfo>
タイルプロバイダを初期化しルートタイルをリクエストする。
- 初期化、リクエストに失敗した場合は null を返す。
Parameters¶
| Parameter | Type | Description |
|---|---|---|
options? |
RequestOption |
リクエストのオプション (中断信号など) |
Returns¶
Promise<null | RootInfo>
ルートタイルの情報 (失敗した場合は null)
Inherited from¶
requestContent()¶
requestContent(
content_uri,type,options?):Promise<null|ArrayBuffer|TileJson>
3D Tiles コンテンツをリクエストする。
- リクエストに失敗した場合は null を返す。
Parameters¶
| Parameter | Type | Description |
|---|---|---|
content_uri |
string |
タイルが持つ content uri |
type |
ContentType |
リクエストするファイルのタイプ |
options? |
RequestOption |
リクエストのオプション (中断信号など) |
Returns¶
Promise<null | ArrayBuffer | TileJson>
type が "JSON" なら tileset JSON、"ARRAYBUFFER" なら ArrayBuffer (失敗した場合は null)