videoId またはアドレスを使用して lookupVideoMetadata を呼び出し、動画の状態が ACTIVE になるまでエンドポイントをポーリングします。レンダリングには数時間かかることがあるため、指数バックオフを使用して呼び出しの間隔を空けます。
動画がアクティブな場合(lookupVideoMetadata が ACTIVE の状態を返した場合)、lookupVideo を呼び出して動画の URI を取得します。
このワークフローは次の図のとおりです。
動画 ID を保存して後で使用する
Aerial View API の Service Specific Terms が適用される場合、Aerial View API の動画 ID は、Google Maps Platform 利用規約のセクション 3.2.3(b)(キャッシュなし)で定められているキャッシュ制限の対象外となります。後で使用するために動画 ID の値を保存できます。
[null,null,["最終更新日 2025-01-14 UTC。"],[[["The Aerial View API offers two workflows: one for retrieving existing videos and another for generating new ones."],["To determine if a video exists for a location, utilize the `lookupVideoMetadata` function."],["If a video doesn't exist, initiate video generation using the `renderVideo` function and monitor its status with `lookupVideoMetadata` until it becomes active."],["Once the video is active, retrieve its URLs via the `lookupVideo` function for access and use."],["Aerial View API video IDs can be stored for future use, unlike other Google Maps Platform content."]]],[]]