@azure-rest/maps-render 2.0.0-beta.2 → 2.0.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +53 -0
- package/dist/browser/createPathQuery.js +1 -1
- package/dist/browser/createPathQuery.js.map +1 -1
- package/dist/browser/generated/isUnexpected.js +5 -6
- package/dist/browser/generated/isUnexpected.js.map +1 -1
- package/dist/browser/generated/mapsRenderClient.js +13 -11
- package/dist/browser/generated/mapsRenderClient.js.map +1 -1
- package/dist/browser/positionToTileXY.d.ts +1 -1
- package/dist/browser/positionToTileXY.js +1 -1
- package/dist/browser/positionToTileXY.js.map +1 -1
- package/dist/commonjs/createPathQuery.js +1 -1
- package/dist/commonjs/createPathQuery.js.map +1 -1
- package/dist/commonjs/generated/isUnexpected.js +5 -6
- package/dist/commonjs/generated/isUnexpected.js.map +1 -1
- package/dist/commonjs/generated/mapsRenderClient.js +13 -11
- package/dist/commonjs/generated/mapsRenderClient.js.map +1 -1
- package/dist/commonjs/positionToTileXY.d.ts +1 -1
- package/dist/commonjs/positionToTileXY.js +1 -1
- package/dist/commonjs/positionToTileXY.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +11 -11
- package/dist/esm/createPathQuery.js +1 -1
- package/dist/esm/createPathQuery.js.map +1 -1
- package/dist/esm/generated/isUnexpected.js +5 -6
- package/dist/esm/generated/isUnexpected.js.map +1 -1
- package/dist/esm/generated/mapsRenderClient.js +13 -11
- package/dist/esm/generated/mapsRenderClient.js.map +1 -1
- package/dist/esm/positionToTileXY.d.ts +1 -1
- package/dist/esm/positionToTileXY.js +1 -1
- package/dist/esm/positionToTileXY.js.map +1 -1
- package/dist/react-native/createPathQuery.js +1 -1
- package/dist/react-native/createPathQuery.js.map +1 -1
- package/dist/react-native/generated/isUnexpected.js +5 -6
- package/dist/react-native/generated/isUnexpected.js.map +1 -1
- package/dist/react-native/generated/mapsRenderClient.js +13 -11
- package/dist/react-native/generated/mapsRenderClient.js.map +1 -1
- package/dist/react-native/positionToTileXY.d.ts +1 -1
- package/dist/react-native/positionToTileXY.js +1 -1
- package/dist/react-native/positionToTileXY.js.map +1 -1
- package/package.json +39 -46
- package/review/maps-render-node.api.md +564 -0
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@azure-rest/maps-render",
|
|
3
3
|
"sdk-type": "client",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
|
-
"version": "2.0.0-beta.
|
|
5
|
+
"version": "2.0.0-beta.3",
|
|
6
6
|
"description": "A generated SDK for MapsRenderClient.",
|
|
7
7
|
"keywords": [
|
|
8
8
|
"node",
|
|
@@ -23,37 +23,12 @@
|
|
|
23
23
|
"files": [
|
|
24
24
|
"dist/",
|
|
25
25
|
"README.md",
|
|
26
|
-
"LICENSE"
|
|
26
|
+
"LICENSE",
|
|
27
|
+
"review/",
|
|
28
|
+
"CHANGELOG.md"
|
|
27
29
|
],
|
|
28
30
|
"engines": {
|
|
29
|
-
"node": ">=
|
|
30
|
-
},
|
|
31
|
-
"scripts": {
|
|
32
|
-
"build": "npm run clean && dev-tool run build-package && dev-tool run extract-api",
|
|
33
|
-
"build:browser": "dev-tool run build-package && dev-tool run bundle",
|
|
34
|
-
"build:debug": "dev-tool run build-package && dev-tool run bundle && dev-tool run extract-api",
|
|
35
|
-
"build:node": "dev-tool run build-package && dev-tool run bundle --browser-test false",
|
|
36
|
-
"build:samples": "dev-tool samples publish --force",
|
|
37
|
-
"build:test": "dev-tool run build-package && dev-tool run bundle",
|
|
38
|
-
"check-format": "dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"",
|
|
39
|
-
"clean": "dev-tool run vendored rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log",
|
|
40
|
-
"execute:samples": "dev-tool samples run samples-dev",
|
|
41
|
-
"extract-api": "dev-tool run vendored rimraf review && dev-tool run extract-api",
|
|
42
|
-
"format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"",
|
|
43
|
-
"generate:client": "autorest --typescript swagger/README.md && npm run format",
|
|
44
|
-
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
|
|
45
|
-
"integration-test:browser": "npm run clean && dev-tool run build-package && dev-tool run build-test && dev-tool run test:vitest --browser",
|
|
46
|
-
"integration-test:node": "dev-tool run test:vitest --esm",
|
|
47
|
-
"lint": "eslint package.json api-extractor.json src test",
|
|
48
|
-
"lint:fix": "eslint package.json api-extractor.json src test --fix --fix-type [problem,suggestion]",
|
|
49
|
-
"pack": "npm pack 2>&1",
|
|
50
|
-
"test": "npm run clean && npm run build:test && npm run unit-test",
|
|
51
|
-
"test:browser": "npm run clean && npm run build:test && npm run unit-test:browser",
|
|
52
|
-
"test:node": "npm run clean && npm run build:test && npm run unit-test:node",
|
|
53
|
-
"unit-test": "npm run unit-test:node && npm run unit-test:browser",
|
|
54
|
-
"unit-test:browser": "npm run clean && dev-tool run build-package && dev-tool run build-test && dev-tool run test:vitest --browser",
|
|
55
|
-
"unit-test:node": "dev-tool run test:vitest",
|
|
56
|
-
"update-snippets": "dev-tool run update-snippets"
|
|
31
|
+
"node": ">=20.0.0"
|
|
57
32
|
},
|
|
58
33
|
"sideEffects": false,
|
|
59
34
|
"autoPublish": false,
|
|
@@ -66,22 +41,22 @@
|
|
|
66
41
|
"tslib": "^2.8.1"
|
|
67
42
|
},
|
|
68
43
|
"devDependencies": {
|
|
69
|
-
"@azure
|
|
70
|
-
"@
|
|
71
|
-
"@
|
|
72
|
-
"@
|
|
73
|
-
"@azure/dev-tool": "^1.0.0",
|
|
74
|
-
"@azure/eslint-plugin-azure-sdk": "^3.0.0",
|
|
75
|
-
"@azure/identity": "^4.6.0",
|
|
76
|
-
"@types/node": "^18.0.0",
|
|
77
|
-
"@vitest/browser": "^3.0.5",
|
|
78
|
-
"@vitest/coverage-istanbul": "^3.0.5",
|
|
44
|
+
"@azure/identity": "4.11.1",
|
|
45
|
+
"@types/node": "^20.19.0",
|
|
46
|
+
"@vitest/browser": "^3.2.3",
|
|
47
|
+
"@vitest/coverage-istanbul": "^3.2.3",
|
|
79
48
|
"autorest": "latest",
|
|
80
49
|
"dotenv": "^16.0.0",
|
|
81
|
-
"eslint": "^9.
|
|
50
|
+
"eslint": "^9.33.0",
|
|
82
51
|
"playwright": "^1.50.1",
|
|
83
|
-
"typescript": "~5.
|
|
84
|
-
"vitest": "^3.
|
|
52
|
+
"typescript": "~5.8.3",
|
|
53
|
+
"vitest": "^3.2.3",
|
|
54
|
+
"@azure-tools/test-credential": "^2.1.1",
|
|
55
|
+
"@azure-tools/test-utils-vitest": "^1.0.0",
|
|
56
|
+
"@azure/core-util": "^1.13.1",
|
|
57
|
+
"@azure-tools/test-recorder": "^4.1.0",
|
|
58
|
+
"@azure/eslint-plugin-azure-sdk": "^3.0.0",
|
|
59
|
+
"@azure/dev-tool": "^1.0.0"
|
|
85
60
|
},
|
|
86
61
|
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/maps/maps-render-rest/README.md",
|
|
87
62
|
"//metadata": {
|
|
@@ -106,7 +81,7 @@
|
|
|
106
81
|
},
|
|
107
82
|
"type": "module",
|
|
108
83
|
"tshy": {
|
|
109
|
-
"project": "
|
|
84
|
+
"project": "../../../tsconfig.src.build.json",
|
|
110
85
|
"exports": {
|
|
111
86
|
"./package.json": "./package.json",
|
|
112
87
|
".": "./src/index.ts"
|
|
@@ -142,5 +117,23 @@
|
|
|
142
117
|
}
|
|
143
118
|
}
|
|
144
119
|
},
|
|
145
|
-
"react-native": "./dist/react-native/index.js"
|
|
146
|
-
|
|
120
|
+
"react-native": "./dist/react-native/index.js",
|
|
121
|
+
"scripts": {
|
|
122
|
+
"build": "npm run clean && dev-tool run build-package && dev-tool run extract-api",
|
|
123
|
+
"build:samples": "tsc -p tsconfig.samples.json",
|
|
124
|
+
"check-format": "dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"",
|
|
125
|
+
"clean": "dev-tool run vendored rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log",
|
|
126
|
+
"execute:samples": "dev-tool samples run samples-dev",
|
|
127
|
+
"extract-api": "dev-tool run vendored rimraf review && dev-tool run extract-api",
|
|
128
|
+
"format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"",
|
|
129
|
+
"generate:client": "autorest --typescript swagger/README.md && npm run format",
|
|
130
|
+
"lint": "eslint package.json src test",
|
|
131
|
+
"lint:fix": "eslint package.json src test --fix --fix-type [problem,suggestion]",
|
|
132
|
+
"pack": "pnpm pack 2>&1",
|
|
133
|
+
"test": "npm run test:node && npm run test:browser",
|
|
134
|
+
"test:browser": "npm run clean && dev-tool run build-package && dev-tool run build-test && dev-tool run test:vitest --browser",
|
|
135
|
+
"test:node": "dev-tool run test:vitest",
|
|
136
|
+
"test:node:esm": "dev-tool run test:vitest --esm",
|
|
137
|
+
"update-snippets": "dev-tool run update-snippets"
|
|
138
|
+
}
|
|
139
|
+
}
|
|
@@ -0,0 +1,564 @@
|
|
|
1
|
+
## API Report File for "@azure-rest/maps-render"
|
|
2
|
+
|
|
3
|
+
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
+
|
|
5
|
+
```ts
|
|
6
|
+
|
|
7
|
+
import type { AzureKeyCredential } from '@azure/core-auth';
|
|
8
|
+
import type { AzureSASCredential } from '@azure/core-auth';
|
|
9
|
+
import { Client } from '@azure-rest/core-client';
|
|
10
|
+
import { ClientOptions } from '@azure-rest/core-client';
|
|
11
|
+
import { HttpResponse } from '@azure-rest/core-client';
|
|
12
|
+
import type { LatLon } from '@azure/maps-common';
|
|
13
|
+
import { RawHttpHeaders } from '@azure/core-rest-pipeline';
|
|
14
|
+
import { RequestParameters } from '@azure-rest/core-client';
|
|
15
|
+
import { StreamableMethod } from '@azure-rest/core-client';
|
|
16
|
+
import type { TokenCredential } from '@azure/core-auth';
|
|
17
|
+
|
|
18
|
+
// @public
|
|
19
|
+
export interface CircularPath {
|
|
20
|
+
center: LatLon;
|
|
21
|
+
options?: CircularPathOptions;
|
|
22
|
+
radiusInMeters: number;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
// @public
|
|
26
|
+
export interface CircularPathOptions {
|
|
27
|
+
lineColor?: string;
|
|
28
|
+
lineOpacity?: number;
|
|
29
|
+
lineWidthInPixels?: number;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
// @public
|
|
33
|
+
export interface CopyrightCaptionOutput {
|
|
34
|
+
readonly copyrightsCaption: string;
|
|
35
|
+
readonly formatVersion?: string;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
// @public
|
|
39
|
+
export interface CopyrightOutput {
|
|
40
|
+
readonly formatVersion?: string;
|
|
41
|
+
readonly generalCopyrights?: Array<string>;
|
|
42
|
+
readonly regions?: Array<RegionCopyrightsOutput>;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
// @public
|
|
46
|
+
export function createPathQuery(paths: Array<PolygonalPath | CircularPath>): string;
|
|
47
|
+
|
|
48
|
+
// @public
|
|
49
|
+
export function createPinsQuery(pinSets: PinSet[]): string;
|
|
50
|
+
|
|
51
|
+
// @public
|
|
52
|
+
export interface ErrorAdditionalInfoOutput {
|
|
53
|
+
readonly info?: Record<string, unknown>;
|
|
54
|
+
readonly type?: string;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
// @public
|
|
58
|
+
export interface ErrorDetailOutput {
|
|
59
|
+
readonly additionalInfo?: Array<ErrorAdditionalInfoOutput>;
|
|
60
|
+
readonly code?: string;
|
|
61
|
+
readonly details?: Array<ErrorDetailOutput>;
|
|
62
|
+
readonly message?: string;
|
|
63
|
+
readonly target?: string;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
// @public
|
|
67
|
+
export interface ErrorResponseOutput {
|
|
68
|
+
error?: ErrorDetailOutput;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
// @public (undocumented)
|
|
72
|
+
export interface GetCopyrightCaption {
|
|
73
|
+
get(options?: RenderGetCopyrightCaptionParameters): StreamableMethod<RenderGetCopyrightCaption200Response | RenderGetCopyrightCaptionDefaultResponse>;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
// @public (undocumented)
|
|
77
|
+
export interface GetCopyrightForTile {
|
|
78
|
+
get(options: RenderGetCopyrightForTileParameters): StreamableMethod<RenderGetCopyrightForTile200Response | RenderGetCopyrightForTileDefaultResponse>;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
// @public (undocumented)
|
|
82
|
+
export interface GetCopyrightForWorld {
|
|
83
|
+
get(options?: RenderGetCopyrightForWorldParameters): StreamableMethod<RenderGetCopyrightForWorld200Response | RenderGetCopyrightForWorldDefaultResponse>;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
// @public (undocumented)
|
|
87
|
+
export interface GetCopyrightFromBoundingBox {
|
|
88
|
+
get(options: RenderGetCopyrightFromBoundingBoxParameters): StreamableMethod<RenderGetCopyrightFromBoundingBox200Response | RenderGetCopyrightFromBoundingBoxDefaultResponse>;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
// @public (undocumented)
|
|
92
|
+
export interface GetMapAttribution {
|
|
93
|
+
get(options: RenderGetMapAttributionParameters): StreamableMethod<RenderGetMapAttribution200Response | RenderGetMapAttributionDefaultResponse>;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
// @public (undocumented)
|
|
97
|
+
export interface GetMapStateTile {
|
|
98
|
+
get(options: RenderGetMapStateTileParameters): StreamableMethod<RenderGetMapStateTile200Response | RenderGetMapStateTileDefaultResponse>;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
// @public (undocumented)
|
|
102
|
+
export interface GetMapStaticImage {
|
|
103
|
+
get(options?: RenderGetMapStaticImageParameters): StreamableMethod<RenderGetMapStaticImage200Response | RenderGetMapStaticImageDefaultResponse>;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
// @public (undocumented)
|
|
107
|
+
export interface GetMapTile {
|
|
108
|
+
get(options: RenderGetMapTileParameters): StreamableMethod<RenderGetMapTile200Response | RenderGetMapTileDefaultResponse>;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
// @public (undocumented)
|
|
112
|
+
export interface GetMapTileset {
|
|
113
|
+
get(options: RenderGetMapTilesetParameters): StreamableMethod<RenderGetMapTileset200Response | RenderGetMapTilesetDefaultResponse>;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
// @public (undocumented)
|
|
117
|
+
export function isUnexpected(response: RenderGetMapTile200Response | RenderGetMapTileDefaultResponse): response is RenderGetMapTileDefaultResponse;
|
|
118
|
+
|
|
119
|
+
// @public (undocumented)
|
|
120
|
+
export function isUnexpected(response: RenderGetMapTileset200Response | RenderGetMapTilesetDefaultResponse): response is RenderGetMapTilesetDefaultResponse;
|
|
121
|
+
|
|
122
|
+
// @public (undocumented)
|
|
123
|
+
export function isUnexpected(response: RenderGetMapAttribution200Response | RenderGetMapAttributionDefaultResponse): response is RenderGetMapAttributionDefaultResponse;
|
|
124
|
+
|
|
125
|
+
// @public (undocumented)
|
|
126
|
+
export function isUnexpected(response: RenderGetMapStateTile200Response | RenderGetMapStateTileDefaultResponse): response is RenderGetMapStateTileDefaultResponse;
|
|
127
|
+
|
|
128
|
+
// @public (undocumented)
|
|
129
|
+
export function isUnexpected(response: RenderGetCopyrightCaption200Response | RenderGetCopyrightCaptionDefaultResponse): response is RenderGetCopyrightCaptionDefaultResponse;
|
|
130
|
+
|
|
131
|
+
// @public (undocumented)
|
|
132
|
+
export function isUnexpected(response: RenderGetMapStaticImage200Response | RenderGetMapStaticImageDefaultResponse): response is RenderGetMapStaticImageDefaultResponse;
|
|
133
|
+
|
|
134
|
+
// @public (undocumented)
|
|
135
|
+
export function isUnexpected(response: RenderGetCopyrightFromBoundingBox200Response | RenderGetCopyrightFromBoundingBoxDefaultResponse): response is RenderGetCopyrightFromBoundingBoxDefaultResponse;
|
|
136
|
+
|
|
137
|
+
// @public (undocumented)
|
|
138
|
+
export function isUnexpected(response: RenderGetCopyrightForTile200Response | RenderGetCopyrightForTileDefaultResponse): response is RenderGetCopyrightForTileDefaultResponse;
|
|
139
|
+
|
|
140
|
+
// @public (undocumented)
|
|
141
|
+
export function isUnexpected(response: RenderGetCopyrightForWorld200Response | RenderGetCopyrightForWorldDefaultResponse): response is RenderGetCopyrightForWorldDefaultResponse;
|
|
142
|
+
|
|
143
|
+
// @public
|
|
144
|
+
export interface MapAttributionOutput {
|
|
145
|
+
copyrights: Array<string>;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
// @public
|
|
149
|
+
function MapsRender(credential: AzureKeyCredential, options?: ClientOptions): MapsRenderClient;
|
|
150
|
+
|
|
151
|
+
// @public
|
|
152
|
+
function MapsRender(credential: TokenCredential, mapsAccountClientId: string, options?: ClientOptions): MapsRenderClient;
|
|
153
|
+
|
|
154
|
+
// @public
|
|
155
|
+
function MapsRender(credential: AzureSASCredential, options?: ClientOptions): MapsRenderClient;
|
|
156
|
+
export default MapsRender;
|
|
157
|
+
|
|
158
|
+
// @public (undocumented)
|
|
159
|
+
export type MapsRenderClient = Client & {
|
|
160
|
+
path: Routes;
|
|
161
|
+
};
|
|
162
|
+
|
|
163
|
+
// @public
|
|
164
|
+
export interface MapsRenderClientOptions extends ClientOptions {
|
|
165
|
+
apiVersion?: string;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
// @public
|
|
169
|
+
export interface MapTilesetOutput {
|
|
170
|
+
attribution?: string;
|
|
171
|
+
bounds?: Array<number>;
|
|
172
|
+
center?: Array<number>;
|
|
173
|
+
data?: Array<string>;
|
|
174
|
+
description?: string;
|
|
175
|
+
grids?: Array<string>;
|
|
176
|
+
legend?: string;
|
|
177
|
+
maxzoom?: number;
|
|
178
|
+
minzoom?: number;
|
|
179
|
+
name?: string;
|
|
180
|
+
scheme?: string;
|
|
181
|
+
template?: string;
|
|
182
|
+
tilejson: string;
|
|
183
|
+
tiles: Array<string>;
|
|
184
|
+
version?: string;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
// @public
|
|
188
|
+
export interface Pin {
|
|
189
|
+
coordinate: LatLon;
|
|
190
|
+
label?: string;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
// @public
|
|
194
|
+
export interface PinOptions {
|
|
195
|
+
labelAnchor?: [number, number];
|
|
196
|
+
labelColor?: string;
|
|
197
|
+
labelSizeInPixels?: number;
|
|
198
|
+
opacity?: number;
|
|
199
|
+
pinAnchor?: [number, number];
|
|
200
|
+
pinColor?: string;
|
|
201
|
+
rotationInDegree?: number;
|
|
202
|
+
scale?: number;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
// @public (undocumented)
|
|
206
|
+
export interface PinSet {
|
|
207
|
+
// (undocumented)
|
|
208
|
+
options?: PinOptions;
|
|
209
|
+
// (undocumented)
|
|
210
|
+
pinImage?: "default" | "none" | string;
|
|
211
|
+
// (undocumented)
|
|
212
|
+
pins: Pin[];
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
// @public
|
|
216
|
+
export interface PolygonalPath {
|
|
217
|
+
coordinates: LatLon[];
|
|
218
|
+
options?: PolygonalPathOptions;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
// @public
|
|
222
|
+
export interface PolygonalPathOptions extends CircularPathOptions {
|
|
223
|
+
fillColor?: string;
|
|
224
|
+
fillOpacity?: number;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
// @public
|
|
228
|
+
export function positionToTileXY(position: LatLon, zoom: number, tileSize: "512" | "256"): {
|
|
229
|
+
x: number;
|
|
230
|
+
y: number;
|
|
231
|
+
};
|
|
232
|
+
|
|
233
|
+
// @public
|
|
234
|
+
export interface RegionCopyrightsCountryOutput {
|
|
235
|
+
readonly ISO3: string;
|
|
236
|
+
readonly label: string;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
// @public (undocumented)
|
|
240
|
+
export interface RegionCopyrightsOutput {
|
|
241
|
+
readonly copyrights: Array<string>;
|
|
242
|
+
readonly country: RegionCopyrightsCountryOutput;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
// @public
|
|
246
|
+
export interface RenderGetCopyrightCaption200Response extends HttpResponse {
|
|
247
|
+
// (undocumented)
|
|
248
|
+
body: CopyrightCaptionOutput;
|
|
249
|
+
// (undocumented)
|
|
250
|
+
status: "200";
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
// @public
|
|
254
|
+
export interface RenderGetCopyrightCaptionDefaultResponse extends HttpResponse {
|
|
255
|
+
// (undocumented)
|
|
256
|
+
body: ErrorResponseOutput;
|
|
257
|
+
// (undocumented)
|
|
258
|
+
status: string;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
// @public (undocumented)
|
|
262
|
+
export type RenderGetCopyrightCaptionParameters = RequestParameters;
|
|
263
|
+
|
|
264
|
+
// @public
|
|
265
|
+
export interface RenderGetCopyrightForTile200Response extends HttpResponse {
|
|
266
|
+
// (undocumented)
|
|
267
|
+
body: CopyrightOutput;
|
|
268
|
+
// (undocumented)
|
|
269
|
+
status: "200";
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
// @public
|
|
273
|
+
export interface RenderGetCopyrightForTileDefaultResponse extends HttpResponse {
|
|
274
|
+
// (undocumented)
|
|
275
|
+
body: ErrorResponseOutput;
|
|
276
|
+
// (undocumented)
|
|
277
|
+
status: string;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
// @public (undocumented)
|
|
281
|
+
export type RenderGetCopyrightForTileParameters = RenderGetCopyrightForTileQueryParam & RequestParameters;
|
|
282
|
+
|
|
283
|
+
// @public (undocumented)
|
|
284
|
+
export interface RenderGetCopyrightForTileQueryParam {
|
|
285
|
+
// (undocumented)
|
|
286
|
+
queryParameters: RenderGetCopyrightForTileQueryParamProperties;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
// @public (undocumented)
|
|
290
|
+
export interface RenderGetCopyrightForTileQueryParamProperties {
|
|
291
|
+
text?: "yes" | "no";
|
|
292
|
+
x: number;
|
|
293
|
+
y: number;
|
|
294
|
+
zoom: number;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
// @public
|
|
298
|
+
export interface RenderGetCopyrightForWorld200Response extends HttpResponse {
|
|
299
|
+
// (undocumented)
|
|
300
|
+
body: CopyrightOutput;
|
|
301
|
+
// (undocumented)
|
|
302
|
+
status: "200";
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
// @public
|
|
306
|
+
export interface RenderGetCopyrightForWorldDefaultResponse extends HttpResponse {
|
|
307
|
+
// (undocumented)
|
|
308
|
+
body: ErrorResponseOutput;
|
|
309
|
+
// (undocumented)
|
|
310
|
+
status: string;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
// @public (undocumented)
|
|
314
|
+
export type RenderGetCopyrightForWorldParameters = RenderGetCopyrightForWorldQueryParam & RequestParameters;
|
|
315
|
+
|
|
316
|
+
// @public (undocumented)
|
|
317
|
+
export interface RenderGetCopyrightForWorldQueryParam {
|
|
318
|
+
// (undocumented)
|
|
319
|
+
queryParameters?: RenderGetCopyrightForWorldQueryParamProperties;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
// @public (undocumented)
|
|
323
|
+
export interface RenderGetCopyrightForWorldQueryParamProperties {
|
|
324
|
+
text?: "yes" | "no";
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
// @public
|
|
328
|
+
export interface RenderGetCopyrightFromBoundingBox200Response extends HttpResponse {
|
|
329
|
+
// (undocumented)
|
|
330
|
+
body: CopyrightOutput;
|
|
331
|
+
// (undocumented)
|
|
332
|
+
status: "200";
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
// @public
|
|
336
|
+
export interface RenderGetCopyrightFromBoundingBoxDefaultResponse extends HttpResponse {
|
|
337
|
+
// (undocumented)
|
|
338
|
+
body: ErrorResponseOutput;
|
|
339
|
+
// (undocumented)
|
|
340
|
+
status: string;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
// @public (undocumented)
|
|
344
|
+
export type RenderGetCopyrightFromBoundingBoxParameters = RenderGetCopyrightFromBoundingBoxQueryParam & RequestParameters;
|
|
345
|
+
|
|
346
|
+
// @public (undocumented)
|
|
347
|
+
export interface RenderGetCopyrightFromBoundingBoxQueryParam {
|
|
348
|
+
// (undocumented)
|
|
349
|
+
queryParameters: RenderGetCopyrightFromBoundingBoxQueryParamProperties;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
// @public (undocumented)
|
|
353
|
+
export interface RenderGetCopyrightFromBoundingBoxQueryParamProperties {
|
|
354
|
+
maxcoordinates: Array<number>;
|
|
355
|
+
mincoordinates: Array<number>;
|
|
356
|
+
text?: "yes" | "no";
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
// @public
|
|
360
|
+
export interface RenderGetMapAttribution200Response extends HttpResponse {
|
|
361
|
+
// (undocumented)
|
|
362
|
+
body: MapAttributionOutput;
|
|
363
|
+
// (undocumented)
|
|
364
|
+
status: "200";
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
// @public
|
|
368
|
+
export interface RenderGetMapAttributionDefaultResponse extends HttpResponse {
|
|
369
|
+
// (undocumented)
|
|
370
|
+
body: ErrorResponseOutput;
|
|
371
|
+
// (undocumented)
|
|
372
|
+
status: string;
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
// @public (undocumented)
|
|
376
|
+
export type RenderGetMapAttributionParameters = RenderGetMapAttributionQueryParam & RequestParameters;
|
|
377
|
+
|
|
378
|
+
// @public (undocumented)
|
|
379
|
+
export interface RenderGetMapAttributionQueryParam {
|
|
380
|
+
// (undocumented)
|
|
381
|
+
queryParameters: RenderGetMapAttributionQueryParamProperties;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
// @public (undocumented)
|
|
385
|
+
export interface RenderGetMapAttributionQueryParamProperties {
|
|
386
|
+
bounds: Array<number>;
|
|
387
|
+
tilesetId: "microsoft.base" | "microsoft.base.labels" | "microsoft.base.hybrid" | "microsoft.terra.main" | "microsoft.base.road" | "microsoft.base.darkgrey" | "microsoft.base.labels.road" | "microsoft.base.labels.darkgrey" | "microsoft.base.hybrid.road" | "microsoft.base.hybrid.darkgrey" | "microsoft.imagery" | "microsoft.weather.radar.main" | "microsoft.weather.infrared.main" | "microsoft.traffic.absolute" | "microsoft.traffic.absolute.main" | "microsoft.traffic.relative" | "microsoft.traffic.relative.main" | "microsoft.traffic.relative.dark" | "microsoft.traffic.delay" | "microsoft.traffic.delay.main" | "microsoft.traffic.reduced.main" | "microsoft.traffic.incident";
|
|
388
|
+
zoom: number;
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
// @public (undocumented)
|
|
392
|
+
export interface RenderGetMapStateTile200Headers {
|
|
393
|
+
"content-type"?: string;
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
// @public
|
|
397
|
+
export interface RenderGetMapStateTile200Response extends HttpResponse {
|
|
398
|
+
body: Uint8Array;
|
|
399
|
+
// (undocumented)
|
|
400
|
+
headers: RawHttpHeaders & RenderGetMapStateTile200Headers;
|
|
401
|
+
// (undocumented)
|
|
402
|
+
status: "200";
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
// @public
|
|
406
|
+
export interface RenderGetMapStateTileDefaultResponse extends HttpResponse {
|
|
407
|
+
// (undocumented)
|
|
408
|
+
body: ErrorResponseOutput;
|
|
409
|
+
// (undocumented)
|
|
410
|
+
status: string;
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
// @public (undocumented)
|
|
414
|
+
export type RenderGetMapStateTileParameters = RenderGetMapStateTileQueryParam & RequestParameters;
|
|
415
|
+
|
|
416
|
+
// @public (undocumented)
|
|
417
|
+
export interface RenderGetMapStateTileQueryParam {
|
|
418
|
+
// (undocumented)
|
|
419
|
+
queryParameters: RenderGetMapStateTileQueryParamProperties;
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
// @public (undocumented)
|
|
423
|
+
export interface RenderGetMapStateTileQueryParamProperties {
|
|
424
|
+
statesetId: string;
|
|
425
|
+
x: number;
|
|
426
|
+
y: number;
|
|
427
|
+
zoom: number;
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
// @public (undocumented)
|
|
431
|
+
export interface RenderGetMapStaticImage200Headers {
|
|
432
|
+
"content-type"?: string;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
// @public
|
|
436
|
+
export interface RenderGetMapStaticImage200Response extends HttpResponse {
|
|
437
|
+
body: Uint8Array;
|
|
438
|
+
// (undocumented)
|
|
439
|
+
headers: RawHttpHeaders & RenderGetMapStaticImage200Headers;
|
|
440
|
+
// (undocumented)
|
|
441
|
+
status: "200";
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
// @public
|
|
445
|
+
export interface RenderGetMapStaticImageDefaultResponse extends HttpResponse {
|
|
446
|
+
// (undocumented)
|
|
447
|
+
body: ErrorResponseOutput;
|
|
448
|
+
// (undocumented)
|
|
449
|
+
status: string;
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
// @public (undocumented)
|
|
453
|
+
export type RenderGetMapStaticImageParameters = RenderGetMapStaticImageQueryParam & RequestParameters;
|
|
454
|
+
|
|
455
|
+
// @public (undocumented)
|
|
456
|
+
export interface RenderGetMapStaticImageQueryParam {
|
|
457
|
+
// (undocumented)
|
|
458
|
+
queryParameters?: RenderGetMapStaticImageQueryParamProperties;
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
// @public (undocumented)
|
|
462
|
+
export interface RenderGetMapStaticImageQueryParamProperties {
|
|
463
|
+
bbox?: Array<number>;
|
|
464
|
+
center?: Array<number>;
|
|
465
|
+
height?: number;
|
|
466
|
+
language?: string;
|
|
467
|
+
path?: string;
|
|
468
|
+
pins?: string;
|
|
469
|
+
tilesetId?: "microsoft.base" | "microsoft.base.labels" | "microsoft.base.hybrid" | "microsoft.terra.main" | "microsoft.base.road" | "microsoft.base.darkgrey" | "microsoft.base.labels.road" | "microsoft.base.labels.darkgrey" | "microsoft.base.hybrid.road" | "microsoft.base.hybrid.darkgrey" | "microsoft.imagery" | "microsoft.weather.radar.main" | "microsoft.weather.infrared.main" | "microsoft.traffic.absolute" | "microsoft.traffic.absolute.main" | "microsoft.traffic.relative" | "microsoft.traffic.relative.main" | "microsoft.traffic.relative.dark" | "microsoft.traffic.delay" | "microsoft.traffic.delay.main" | "microsoft.traffic.reduced.main" | "microsoft.traffic.incident";
|
|
470
|
+
trafficLayer?: "microsoft.traffic.relative.main" | "none";
|
|
471
|
+
view?: "AE" | "AR" | "BH" | "IN" | "IQ" | "JO" | "KW" | "LB" | "MA" | "OM" | "PK" | "PS" | "QA" | "SA" | "SY" | "YE" | "Auto" | "Unified";
|
|
472
|
+
width?: number;
|
|
473
|
+
zoom?: number;
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
// @public (undocumented)
|
|
477
|
+
export interface RenderGetMapTile200Headers {
|
|
478
|
+
"content-type"?: string;
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
// @public
|
|
482
|
+
export interface RenderGetMapTile200Response extends HttpResponse {
|
|
483
|
+
body: Uint8Array;
|
|
484
|
+
// (undocumented)
|
|
485
|
+
headers: RawHttpHeaders & RenderGetMapTile200Headers;
|
|
486
|
+
// (undocumented)
|
|
487
|
+
status: "200";
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
// @public
|
|
491
|
+
export interface RenderGetMapTileDefaultResponse extends HttpResponse {
|
|
492
|
+
// (undocumented)
|
|
493
|
+
body: ErrorResponseOutput;
|
|
494
|
+
// (undocumented)
|
|
495
|
+
status: string;
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
// @public (undocumented)
|
|
499
|
+
export type RenderGetMapTileParameters = RenderGetMapTileQueryParam & RequestParameters;
|
|
500
|
+
|
|
501
|
+
// @public (undocumented)
|
|
502
|
+
export interface RenderGetMapTileQueryParam {
|
|
503
|
+
// (undocumented)
|
|
504
|
+
queryParameters: RenderGetMapTileQueryParamProperties;
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
// @public (undocumented)
|
|
508
|
+
export interface RenderGetMapTileQueryParamProperties {
|
|
509
|
+
language?: string;
|
|
510
|
+
tilesetId: "microsoft.base" | "microsoft.base.labels" | "microsoft.base.hybrid" | "microsoft.terra.main" | "microsoft.base.road" | "microsoft.base.darkgrey" | "microsoft.base.labels.road" | "microsoft.base.labels.darkgrey" | "microsoft.base.hybrid.road" | "microsoft.base.hybrid.darkgrey" | "microsoft.imagery" | "microsoft.weather.radar.main" | "microsoft.weather.infrared.main" | "microsoft.traffic.absolute" | "microsoft.traffic.absolute.main" | "microsoft.traffic.relative" | "microsoft.traffic.relative.main" | "microsoft.traffic.relative.dark" | "microsoft.traffic.delay" | "microsoft.traffic.delay.main" | "microsoft.traffic.reduced.main" | "microsoft.traffic.incident";
|
|
511
|
+
tileSize?: "256" | "512";
|
|
512
|
+
timeStamp?: Date | string;
|
|
513
|
+
view?: "AE" | "AR" | "BH" | "IN" | "IQ" | "JO" | "KW" | "LB" | "MA" | "OM" | "PK" | "PS" | "QA" | "SA" | "SY" | "YE" | "Auto" | "Unified";
|
|
514
|
+
x: number;
|
|
515
|
+
y: number;
|
|
516
|
+
zoom: number;
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
// @public
|
|
520
|
+
export interface RenderGetMapTileset200Response extends HttpResponse {
|
|
521
|
+
// (undocumented)
|
|
522
|
+
body: MapTilesetOutput;
|
|
523
|
+
// (undocumented)
|
|
524
|
+
status: "200";
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
// @public
|
|
528
|
+
export interface RenderGetMapTilesetDefaultResponse extends HttpResponse {
|
|
529
|
+
// (undocumented)
|
|
530
|
+
body: ErrorResponseOutput;
|
|
531
|
+
// (undocumented)
|
|
532
|
+
status: string;
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
// @public (undocumented)
|
|
536
|
+
export type RenderGetMapTilesetParameters = RenderGetMapTilesetQueryParam & RequestParameters;
|
|
537
|
+
|
|
538
|
+
// @public (undocumented)
|
|
539
|
+
export interface RenderGetMapTilesetQueryParam {
|
|
540
|
+
// (undocumented)
|
|
541
|
+
queryParameters: RenderGetMapTilesetQueryParamProperties;
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
// @public (undocumented)
|
|
545
|
+
export interface RenderGetMapTilesetQueryParamProperties {
|
|
546
|
+
tilesetId: "microsoft.base" | "microsoft.base.labels" | "microsoft.base.hybrid" | "microsoft.terra.main" | "microsoft.base.road" | "microsoft.base.darkgrey" | "microsoft.base.labels.road" | "microsoft.base.labels.darkgrey" | "microsoft.base.hybrid.road" | "microsoft.base.hybrid.darkgrey" | "microsoft.imagery" | "microsoft.weather.radar.main" | "microsoft.weather.infrared.main" | "microsoft.traffic.absolute" | "microsoft.traffic.absolute.main" | "microsoft.traffic.relative" | "microsoft.traffic.relative.main" | "microsoft.traffic.relative.dark" | "microsoft.traffic.delay" | "microsoft.traffic.delay.main" | "microsoft.traffic.reduced.main" | "microsoft.traffic.incident";
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
// @public (undocumented)
|
|
550
|
+
export interface Routes {
|
|
551
|
+
(path: "/map/tile"): GetMapTile;
|
|
552
|
+
(path: "/map/tileset"): GetMapTileset;
|
|
553
|
+
(path: "/map/attribution"): GetMapAttribution;
|
|
554
|
+
(path: "/map/statetile"): GetMapStateTile;
|
|
555
|
+
(path: "/map/copyright/caption/{format}", format: "json" | "xml"): GetCopyrightCaption;
|
|
556
|
+
(path: "/map/static"): GetMapStaticImage;
|
|
557
|
+
(path: "/map/copyright/bounding/{format}", format: "json" | "xml"): GetCopyrightFromBoundingBox;
|
|
558
|
+
(path: "/map/copyright/tile/{format}", format: "json" | "xml"): GetCopyrightForTile;
|
|
559
|
+
(path: "/map/copyright/world/{format}", format: "json" | "xml"): GetCopyrightForWorld;
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
// (No @packageDocumentation comment for this package)
|
|
563
|
+
|
|
564
|
+
```
|