@azure/maps-common package
인터페이스
| BoundingBox |
경계 상자 |
| GeoJsonFeature |
GeoJSON 기능 기능 개체는 공간적으로 경계된 사물을 나타냅니다. 모든 Feature 개체는 GeoJSON 개체입니다. 참조 |
| GeoJsonFeatureCollection |
GeoJSON FeatureCollection을 사용합니다. 참조 |
| GeoJsonGeometryCollection |
GeoJSON GeometryCollection을 사용합니다. 참조 |
| GeoJsonLineString |
GeoJSON LineString입니다. 참조 |
| GeoJsonMultiLineString |
GeoJSON MultiLineString입니다. 참조 |
| GeoJsonMultiPoint |
GeoJSON MultiPoint입니다. 참조 |
| GeoJsonMultiPolygon |
GeoJSON MultiPolygon입니다. 참조 |
| GeoJsonObject |
GeoJSON 개체는 형상, 기능 또는 기능 컬렉션을 나타냅니다. 참조 |
| GeoJsonPoint |
GeoJSON 포인트. 참조 |
| GeoJsonPolygon |
GeoJSON 다각형. 참조 다각형과 관련된 제약 조건을 지정하려면 선형 링의 개념을 도입하는 것이 유용합니다.
|
형식 별칭
| BBox |
형상의 좌표 범위에 대한 정보를 포함하는 경계 상자 |
| BBox2D |
2D 경계 상자 |
| BBox3D |
3D 경계 상자 |
| GeoJsonGeometry |
GeoJSON 지오메트리 |
| GeoJsonType |
GeoJSON 형식 |
| GeometryType |
기하 도형 유형 |
| LatLon |
위도/경도 쌍 |
| Position |
점을 나타내는 숫자 배열 |
| Position2D |
2D 위치 |
| Position3D |
3D 위치 |
함수
| create |
Azure Maps에 대한 요청을 |
| create |
Azure Maps에 대한 기반 인증을 위한 |
| create |
createHttpPoller의 sendPollRequest에 전달할 수 있는 메서드를 만드는 도우미 함수입니다. |
| get |
rawResponse에 대한 응답의 여러 필드를 추출합니다. |
함수 세부 정보
createAzureMapsKeyCredentialPolicy(KeyCredential)
Azure Maps에 대한 요청을 AzureKeyCredential 인증하는 HTTP 파이프라인 정책 만들기
function createAzureMapsKeyCredentialPolicy(azureKeyCredential: KeyCredential): PipelinePolicy
매개 변수
- azureKeyCredential
- KeyCredential
반환
createMapsClientIdPolicy(string)
Azure Maps에 대한 기반 인증을 위한 TokenCredential x-ms-client-id 헤더를 추가하는 HTTP 파이프라인 정책 만들기
function createMapsClientIdPolicy(mapsClientId: string): PipelinePolicy
매개 변수
- mapsClientId
-
string
반환
createSendPollRequest<TOptions, TClient>({ client: TClient, options: TOptions, spec: OperationSpec })
createHttpPoller의 sendPollRequest에 전달할 수 있는 메서드를 만드는 도우미 함수입니다.
function createSendPollRequest<TOptions, TClient>(settings: { client: TClient, options: TOptions, spec: OperationSpec }): (path: string) => Promise<LroResponse<unknown>>
매개 변수
- settings
-
{ client: TClient, options: TOptions, spec: OperationSpec }
클라이언트, 옵션 및 사양을 포함한 폴링 요청의 설정
반환
(path: string) => Promise<LroResponse<unknown>>
경로를 입력으로 수락하고 Lro 응답의 약속을 반환하는 콜백입니다.
getRawResponse<TOptions, TResponse>((options: TOptions) => Promise<TResponse>, TOptions)
rawResponse에 대한 응답의 여러 필드를 추출합니다.
function getRawResponse<TOptions, TResponse>(getResponse: (options: TOptions) => Promise<TResponse>, options: TOptions): Promise<LroResponse<TResponse>>
매개 변수
- getResponse
-
(options: TOptions) => Promise<TResponse>
실제로 백엔드 API를 호출하는 비동기 함수입니다.
- options
-
TOptions
getResponse 콜백에 대한 옵션
반환
Promise<@azure/core-lro.LroResponse<TResponse>>
API 호출에 대한 약속입니다.