@azure-rest/maps-render 2.0.0-alpha.20241213.3 → 2.0.0-alpha.20241218.1
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/README.md +11 -11
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@ Key links:
|
|
|
12
12
|
- [Product Information][product_info]
|
|
13
13
|
|
|
14
14
|
| Package Version | Service Version |
|
|
15
|
-
|
|
15
|
+
| --------------- | --------------- |
|
|
16
16
|
| ^1.0.0-beta.4 | V1 |
|
|
17
17
|
| ^2.0.0-beta.1 | 2024-04-01 |
|
|
18
18
|
|
|
@@ -62,7 +62,7 @@ You'll need to register the new Microsoft Entra ID application and grant access
|
|
|
62
62
|
`AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`.
|
|
63
63
|
|
|
64
64
|
You will also need to specify the Azure Maps resource you intend to use by specifying the `clientId` in the client options.
|
|
65
|
-
The Azure Maps resource client id can be found in the Authentication sections in the Azure Maps resource. Please refer to the [documentation](https://
|
|
65
|
+
The Azure Maps resource client id can be found in the Authentication sections in the Azure Maps resource. Please refer to the [documentation](https://learn.microsoft.com/azure/azure-maps/how-to-manage-authentication#view-authentication-details) on how to find it.
|
|
66
66
|
|
|
67
67
|
```javascript
|
|
68
68
|
const MapsRender = require("@azure-rest/maps-render").default;
|
|
@@ -151,7 +151,7 @@ The following sections provide several code snippets covering some of the most c
|
|
|
151
151
|
### Request map tiles in vector or raster formats
|
|
152
152
|
|
|
153
153
|
You can request map tiles in vector or raster formats. These tiles are typically to be integrated into a map control or SDK.
|
|
154
|
-
Some example tiles that can be requested are Azure Maps road tiles, real-time Weather Radar tiles or the map tiles created using [Azure Maps Creator](https://
|
|
154
|
+
Some example tiles that can be requested are Azure Maps road tiles, real-time Weather Radar tiles or the map tiles created using [Azure Maps Creator](https://learn.microsoft.com/shows/internet-of-things-show/introducing-azure-maps-creator).
|
|
155
155
|
|
|
156
156
|
```javascript
|
|
157
157
|
const { createWriteStream } = require("fs");
|
|
@@ -182,7 +182,7 @@ response.body.pipe(createWriteStream("tile.png"));
|
|
|
182
182
|
### Request map copyright attribution information
|
|
183
183
|
|
|
184
184
|
You can request map copyright attribution information for a section of a tileset.
|
|
185
|
-
A tileset is a collection of raster or vector data broken up into a uniform grid of square tiles at preset zoom levels. Every tileset has a tilesetId to use when making requests. The supported tilesetIds are listed [here](https://
|
|
185
|
+
A tileset is a collection of raster or vector data broken up into a uniform grid of square tiles at preset zoom levels. Every tileset has a tilesetId to use when making requests. The supported tilesetIds are listed [here](https://learn.microsoft.com/rest/api/maps/render/get-map-attribution?tabs=HTTP#tilesetid).
|
|
186
186
|
|
|
187
187
|
```javascript
|
|
188
188
|
const { isUnexpected } = require("@azure-rest/maps-render");
|
|
@@ -260,15 +260,15 @@ If you'd like to contribute to this library, please read the [contributing guide
|
|
|
260
260
|
|
|
261
261
|
[source_code]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/maps/maps-render-rest
|
|
262
262
|
[npm_package]: https://www.npmjs.com/package/@azure-rest/maps-render
|
|
263
|
-
[api_ref]: https://
|
|
263
|
+
[api_ref]: https://learn.microsoft.com/javascript/api/@azure-rest/maps-render?view=azure-node-preview
|
|
264
264
|
[samples]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/maps/maps-render-rest/samples
|
|
265
|
-
[product_info]: https://
|
|
265
|
+
[product_info]: https://learn.microsoft.com/rest/api/maps/render
|
|
266
266
|
[nodejs_release]: https://github.com/nodejs/release#release-schedule
|
|
267
267
|
[az_subscription]: https://azure.microsoft.com/free/
|
|
268
|
-
[az_maps_account_management]: https://
|
|
268
|
+
[az_maps_account_management]: https://learn.microsoft.com/azure/azure-maps/how-to-manage-account-keys
|
|
269
269
|
[azure_portal]: https://portal.azure.com
|
|
270
|
-
[azure_powershell]: https://
|
|
271
|
-
[azure_cli]: https://
|
|
272
|
-
[az_map_pricing]: https://
|
|
273
|
-
[az_map_az_cli]: https://
|
|
270
|
+
[azure_powershell]: https://learn.microsoft.com/powershell/module/az.maps/new-azmapsaccount
|
|
271
|
+
[azure_cli]: https://learn.microsoft.com/cli/azure
|
|
272
|
+
[az_map_pricing]: https://learn.microsoft.com/azure/azure-maps/choose-pricing-tier
|
|
273
|
+
[az_map_az_cli]: https://learn.microsoft.com/cli/azure/maps/account?view=azure-cli-latest#az_maps_account_create
|
|
274
274
|
[az_map_auth]: https://learn.microsoft.com/azure/azure-maps/azure-maps-authentication
|
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-alpha.
|
|
5
|
+
"version": "2.0.0-alpha.20241218.1",
|
|
6
6
|
"description": "A generated SDK for MapsRenderClient.",
|
|
7
7
|
"keywords": [
|
|
8
8
|
"node",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"dotenv": "^16.0.0",
|
|
81
81
|
"eslint": "^9.9.0",
|
|
82
82
|
"playwright": "^1.49.0",
|
|
83
|
-
"typescript": "~5.
|
|
83
|
+
"typescript": "~5.7.2",
|
|
84
84
|
"vitest": "^2.1.5"
|
|
85
85
|
},
|
|
86
86
|
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/maps/maps-render-rest/README.md",
|