TimezoneURL class
TimezoneURL は、Azure Mapsタイムゾーン操作の URL を表します。
- Extends
コンストラクター
TimezoneURL(Pipeline, string) | TimezoneURL のインスタンスを作成します。 |
継承されたプロパティ
maps |
ベース URL 文字列値。 |
メソッド
get |
この API は、指定された緯度と経度のペアの現在、履歴、および将来のタイム ゾーン情報を返します。 さらに、API は、特定の場所に対して日の出と日の出の時刻を提供します。 座標によるタイムゾーンの取得 API を使用します。 https://docs.microsoft.com/rest/api/maps/timezone/gettimezonebycoordinates |
get |
この API は、指定された IANA タイム ゾーン ID の現在、履歴、および将来のタイム ゾーン情報を返します。 ID によるタイムゾーンの取得 API を使用します。 https://docs.microsoft.com/rest/api/maps/timezone/gettimezonebyid |
継承されたメソッド
new |
Credential が指定された新しい Pipeline オブジェクトを作成するために使用される静的メソッド。 |
コンストラクターの詳細
TimezoneURL(Pipeline, string)
TimezoneURL のインスタンスを作成します。
new TimezoneURL(pipeline: Pipeline, mapsUrl?: string)
パラメーター
- pipeline
- Pipeline
MapsURL.newPipeline() を呼び出して既定のパイプラインを作成するか、カスタマイズされたパイプラインを提供します。
- mapsUrl
-
string
サービスを指す URL 文字列Azure Maps。既定値は です"https://atlas.microsoft.com"
。
プロトコルが指定されていない場合 (例: "atlas.microsoft.com"
)、と https
見なされます。
継承されたプロパティの詳細
mapsUrl
メソッドの詳細
getTimezoneByCoordinates(Aborter, GeoJSON.Position, GetTimezoneByCoordinatesOptions)
この API は、指定された緯度と経度のペアの現在、履歴、および将来のタイム ゾーン情報を返します。 さらに、API は、特定の場所に対して日の出と日の出の時刻を提供します。 座標によるタイムゾーンの取得 API を使用します。 https://docs.microsoft.com/rest/api/maps/timezone/gettimezonebycoordinates
function getTimezoneByCoordinates(aborter: Aborter, coordinate: GeoJSON.Position, options?: GetTimezoneByCoordinatesOptions): Promise<GetTimezoneByCoordinatesResponse>
パラメーター
- aborter
- Aborter
- coordinate
- GeoJSON.Position
タイム ゾーン情報が要求されるポイントの座標。 該当するクエリは、緯度の後に経度 (例: 47.641268,-122.125679) で構成されるコンマ区切りの文字列として指定されます。
- options
- GetTimezoneByCoordinatesOptions
戻り値
Promise<GetTimezoneByCoordinatesResponse>
getTimezoneById(Aborter, string, GetTimezoneByIdOptions)
この API は、指定された IANA タイム ゾーン ID の現在、履歴、および将来のタイム ゾーン情報を返します。 ID によるタイムゾーンの取得 API を使用します。 https://docs.microsoft.com/rest/api/maps/timezone/gettimezonebyid
function getTimezoneById(aborter: Aborter, id: string, options?: GetTimezoneByIdOptions): Promise<GetTimezoneByIdResponse>
パラメーター
- aborter
- Aborter
- id
-
string
IANA タイム ゾーン ID。
- options
- GetTimezoneByIdOptions
戻り値
Promise<GetTimezoneByIdResponse>
継承済みメソッドの詳細
newPipeline(Credential, INewPipelineOptions)
Credential が指定された新しい Pipeline オブジェクトを作成するために使用される静的メソッド。
static function newPipeline(credential: Credential, pipelineOptions?: INewPipelineOptions): Pipeline
パラメーター
- credential
- Credential
SubscriptionKeyCredential、TokenCredential、MapControlCredential など。
- pipelineOptions
- INewPipelineOptions
戻り値
新しい Pipeline オブジェクト。