@aws-sdk/client-geo-maps 3.1111.0 → 3.1112.0
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 +1 -1
- package/dist-cjs/index.js +37 -12
- package/dist-es/endpoint/bdd.js +4 -4
- package/dist-es/models/enums.js +19 -0
- package/dist-es/schemas/schemas_0.js +12 -7
- package/dist-types/GeoMaps.d.ts +1 -1
- package/dist-types/GeoMapsClient.d.ts +1 -1
- package/dist-types/commands/GetSpritesCommand.d.ts +3 -3
- package/dist-types/commands/GetStaticMapCommand.d.ts +6 -6
- package/dist-types/commands/GetStyleDescriptorCommand.d.ts +11 -7
- package/dist-types/commands/GetTileCommand.d.ts +1 -1
- package/dist-types/index.d.ts +1 -1
- package/dist-types/models/enums.d.ts +35 -10
- package/dist-types/models/models_0.d.ts +11 -1
- package/dist-types/ts3.4/models/enums.d.ts +21 -0
- package/dist-types/ts3.4/models/models_0.d.ts +4 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
AWS SDK for JavaScript GeoMaps Client for Node.js, Browser and React Native.
|
|
8
8
|
|
|
9
|
-
<p> Integrate high-quality base map data into your applications using <a href="https://maplibre.org">MapLibre</a>. Capabilities include: </p> <ul> <li> <p>Access to comprehensive base map data, allowing you to tailor the map display to your specific needs
|
|
9
|
+
<p> Integrate high-quality base map data into your applications using <a href="https://maplibre.org">MapLibre</a>. Capabilities include: </p> <ul> <li> <p>Access to comprehensive base map data, allowing you to tailor the map display to your specific needs. See <a href="https://docs.aws.amazon.com/location/latest/APIReference/API_geomaps_GetTile.html">GetTile</a>.</p> </li> <li> <p>Multiple pre-designed map styles suited for various application types, such as navigation, logistics, or data visualization. See <a href="https://docs.aws.amazon.com/location/latest/APIReference/API_geomaps_GetStyleDescriptor.html">GetStyleDescriptor</a>.</p> </li> <li> <p>Generation of static map images for scenarios where interactive maps aren't suitable. See <a href="https://docs.aws.amazon.com/location/latest/APIReference/API_geomaps_GetStaticMap.html">GetStaticMap</a>. Use cases include:</p> <ul> <li> <p>Embedding in emails or documents</p> </li> <li> <p>Displaying in low-bandwidth environments</p> </li> <li> <p>Creating printable maps</p> </li> <li> <p>Enhancing application performance by reducing client-side rendering</p> </li> </ul> </li> </ul>
|
|
10
10
|
|
|
11
11
|
## Installing
|
|
12
12
|
|
package/dist-cjs/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1111.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -92,10 +92,10 @@ const _data = {
|
|
|
92
92
|
[a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
93
93
|
[a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
|
|
94
94
|
[h, k],
|
|
95
|
-
["https://maps.geo.{Region}.{PartitionResult#dnsSuffix}
|
|
96
|
-
["https://maps.geo-fips.{Region}.{PartitionResult#dualStackDnsSuffix}
|
|
97
|
-
["https://maps.geo-fips.{Region}.{PartitionResult#dnsSuffix}
|
|
98
|
-
["https://maps.geo.{Region}.{PartitionResult#dualStackDnsSuffix}
|
|
95
|
+
["https://maps.geo.{Region}.{PartitionResult#dnsSuffix}", k],
|
|
96
|
+
["https://maps.geo-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", k],
|
|
97
|
+
["https://maps.geo-fips.{Region}.{PartitionResult#dnsSuffix}", k],
|
|
98
|
+
["https://maps.geo.{Region}.{PartitionResult#dualStackDnsSuffix}", k],
|
|
99
99
|
["https://geo-maps-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", k],
|
|
100
100
|
[a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
|
|
101
101
|
["https://geo-maps-fips.{Region}.{PartitionResult#dnsSuffix}", k],
|
|
@@ -274,6 +274,8 @@ const _M = "Message";
|
|
|
274
274
|
const _N = "Name";
|
|
275
275
|
const _P = "Padding";
|
|
276
276
|
const _PB = "PricingBucket";
|
|
277
|
+
const _PC = "PoiCategories";
|
|
278
|
+
const _PD = "PoiDensity";
|
|
277
279
|
const _PLS = "PositionListString";
|
|
278
280
|
const _POI = "PointsOfInterests";
|
|
279
281
|
const _PS = "PositionString";
|
|
@@ -325,6 +327,8 @@ const _ls = "label-size";
|
|
|
325
327
|
const _m = "message";
|
|
326
328
|
const _n = "name";
|
|
327
329
|
const _p = "padding";
|
|
330
|
+
const _pc = "poi-categories";
|
|
331
|
+
const _pd = "poi-density";
|
|
328
332
|
const _po = "pois";
|
|
329
333
|
const _pv = "political-view";
|
|
330
334
|
const _r = "reason";
|
|
@@ -420,8 +424,8 @@ var GetStaticMapResponse$ = [3, n0, _GSMRe,
|
|
|
420
424
|
];
|
|
421
425
|
var GetStyleDescriptorRequest$ = [3, n0, _GSDR,
|
|
422
426
|
0,
|
|
423
|
-
[_S, _CS, _PV, _T, _CD, _Tr, _TM, _Bu, _K],
|
|
424
|
-
[[0, 1], [0, { [_hQ]: _cs }], [() => CountryCode, { [_hQ]: _pv }], [0, { [_hQ]: _t }], [0, { [_hQ]: _cd }], [0, { [_hQ]: _tr }], [64 | 0, { [_hQ]: _tm }], [0, { [_hQ]: _b }], [() => ApiKey, { [_hQ]: _k }]], 1
|
|
427
|
+
[_S, _CS, _PV, _T, _CD, _Tr, _TM, _Bu, _PD, _PC, _K],
|
|
428
|
+
[[0, 1], [0, { [_hQ]: _cs }], [() => CountryCode, { [_hQ]: _pv }], [0, { [_hQ]: _t }], [0, { [_hQ]: _cd }], [0, { [_hQ]: _tr }], [64 | 0, { [_hQ]: _tm }], [0, { [_hQ]: _b }], [0, { [_hQ]: _pd }], [64 | 0, { [_hQ]: _pc }], [() => ApiKey, { [_hQ]: _k }]], 1
|
|
425
429
|
];
|
|
426
430
|
var GetStyleDescriptorResponse$ = [3, n0, _GSDRe,
|
|
427
431
|
0,
|
|
@@ -448,19 +452,19 @@ var ValidationExceptionFieldList = [1, n0, _VEFL,
|
|
|
448
452
|
0]
|
|
449
453
|
];
|
|
450
454
|
var GetGlyphs$ = [9, n0, _GG,
|
|
451
|
-
{ [_ht]: ["GET", "/glyphs/{FontStack}/{FontUnicodeRange}", 200] }, () => GetGlyphsRequest$, () => GetGlyphsResponse$
|
|
455
|
+
{ [_ht]: ["GET", "/v2/glyphs/{FontStack}/{FontUnicodeRange}", 200] }, () => GetGlyphsRequest$, () => GetGlyphsResponse$
|
|
452
456
|
];
|
|
453
457
|
var GetSprites$ = [9, n0, _GS,
|
|
454
|
-
{ [_ht]: ["GET", "/styles/{Style}/{ColorScheme}/{Variant}/sprites/{FileName}", 200] }, () => GetSpritesRequest$, () => GetSpritesResponse$
|
|
458
|
+
{ [_ht]: ["GET", "/v2/styles/{Style}/{ColorScheme}/{Variant}/sprites/{FileName}", 200] }, () => GetSpritesRequest$, () => GetSpritesResponse$
|
|
455
459
|
];
|
|
456
460
|
var GetStaticMap$ = [9, n0, _GSM,
|
|
457
|
-
{ [_ht]: ["GET", "/static/{FileName}", 200] }, () => GetStaticMapRequest$, () => GetStaticMapResponse$
|
|
461
|
+
{ [_ht]: ["GET", "/v2/static/{FileName}", 200] }, () => GetStaticMapRequest$, () => GetStaticMapResponse$
|
|
458
462
|
];
|
|
459
463
|
var GetStyleDescriptor$ = [9, n0, _GSD,
|
|
460
|
-
{ [_ht]: ["GET", "/styles/{Style}/descriptor", 200] }, () => GetStyleDescriptorRequest$, () => GetStyleDescriptorResponse$
|
|
464
|
+
{ [_ht]: ["GET", "/v2/styles/{Style}/descriptor", 200] }, () => GetStyleDescriptorRequest$, () => GetStyleDescriptorResponse$
|
|
461
465
|
];
|
|
462
466
|
var GetTile$ = [9, n0, _GT,
|
|
463
|
-
{ [_ht]: ["GET", "/tiles/{Tileset}/{Z}/{X}/{Y}", 200] }, () => GetTileRequest$, () => GetTileResponse$
|
|
467
|
+
{ [_ht]: ["GET", "/v2/tiles/{Tileset}/{Z}/{X}/{Y}", 200] }, () => GetTileRequest$, () => GetTileResponse$
|
|
464
468
|
];
|
|
465
469
|
|
|
466
470
|
const getRuntimeConfig$1 = (config) => {
|
|
@@ -686,6 +690,25 @@ const ValidationExceptionReason = {
|
|
|
686
690
|
UNKNOWN_FIELD: "UnknownField",
|
|
687
691
|
UNKNOWN_OPERATION: "UnknownOperation",
|
|
688
692
|
};
|
|
693
|
+
const PoiCategory = {
|
|
694
|
+
ACCOMMODATIONS: "Accommodations",
|
|
695
|
+
BUSINESS_AND_SERVICES: "BusinessAndServices",
|
|
696
|
+
ENTERTAINMENT: "Entertainment",
|
|
697
|
+
FACILITIES_AND_BUILDINGS: "FacilitiesAndBuildings",
|
|
698
|
+
FOOD_AND_DRINK: "FoodAndDrink",
|
|
699
|
+
LEISURE_AND_OUTDOOR: "LeisureAndOutdoor",
|
|
700
|
+
SHOPPING: "Shopping",
|
|
701
|
+
SIGHTS_AND_MUSEUMS: "SightsAndMuseums",
|
|
702
|
+
TRANSPORTATION: "Transportation",
|
|
703
|
+
};
|
|
704
|
+
const PoiDensity = {
|
|
705
|
+
DEFAULT: "Default",
|
|
706
|
+
DENSE: "Dense",
|
|
707
|
+
OFF: "Off",
|
|
708
|
+
SPARSE: "Sparse",
|
|
709
|
+
VERY_DENSE: "VeryDense",
|
|
710
|
+
VERY_SPARSE: "VerySparse",
|
|
711
|
+
};
|
|
689
712
|
const Terrain = {
|
|
690
713
|
HILLSHADE: "Hillshade",
|
|
691
714
|
TERRAIN_3D: "Terrain3D",
|
|
@@ -739,6 +762,8 @@ exports.InternalServerException$ = InternalServerException$;
|
|
|
739
762
|
exports.LabelSize = LabelSize;
|
|
740
763
|
exports.MapFeatureMode = MapFeatureMode;
|
|
741
764
|
exports.MapStyle = MapStyle;
|
|
765
|
+
exports.PoiCategory = PoiCategory;
|
|
766
|
+
exports.PoiDensity = PoiDensity;
|
|
742
767
|
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
743
768
|
exports.ResourceNotFoundException$ = ResourceNotFoundException$;
|
|
744
769
|
exports.ScaleBarUnit = ScaleBarUnit;
|
package/dist-es/endpoint/bdd.js
CHANGED
|
@@ -18,10 +18,10 @@ const _data = {
|
|
|
18
18
|
[a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
19
19
|
[a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
|
|
20
20
|
[h, k],
|
|
21
|
-
["https://maps.geo.{Region}.{PartitionResult#dnsSuffix}
|
|
22
|
-
["https://maps.geo-fips.{Region}.{PartitionResult#dualStackDnsSuffix}
|
|
23
|
-
["https://maps.geo-fips.{Region}.{PartitionResult#dnsSuffix}
|
|
24
|
-
["https://maps.geo.{Region}.{PartitionResult#dualStackDnsSuffix}
|
|
21
|
+
["https://maps.geo.{Region}.{PartitionResult#dnsSuffix}", k],
|
|
22
|
+
["https://maps.geo-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", k],
|
|
23
|
+
["https://maps.geo-fips.{Region}.{PartitionResult#dnsSuffix}", k],
|
|
24
|
+
["https://maps.geo.{Region}.{PartitionResult#dualStackDnsSuffix}", k],
|
|
25
25
|
["https://geo-maps-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", k],
|
|
26
26
|
[a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
|
|
27
27
|
["https://geo-maps-fips.{Region}.{PartitionResult#dnsSuffix}", k],
|
package/dist-es/models/enums.js
CHANGED
|
@@ -45,6 +45,25 @@ export const ValidationExceptionReason = {
|
|
|
45
45
|
UNKNOWN_FIELD: "UnknownField",
|
|
46
46
|
UNKNOWN_OPERATION: "UnknownOperation",
|
|
47
47
|
};
|
|
48
|
+
export const PoiCategory = {
|
|
49
|
+
ACCOMMODATIONS: "Accommodations",
|
|
50
|
+
BUSINESS_AND_SERVICES: "BusinessAndServices",
|
|
51
|
+
ENTERTAINMENT: "Entertainment",
|
|
52
|
+
FACILITIES_AND_BUILDINGS: "FacilitiesAndBuildings",
|
|
53
|
+
FOOD_AND_DRINK: "FoodAndDrink",
|
|
54
|
+
LEISURE_AND_OUTDOOR: "LeisureAndOutdoor",
|
|
55
|
+
SHOPPING: "Shopping",
|
|
56
|
+
SIGHTS_AND_MUSEUMS: "SightsAndMuseums",
|
|
57
|
+
TRANSPORTATION: "Transportation",
|
|
58
|
+
};
|
|
59
|
+
export const PoiDensity = {
|
|
60
|
+
DEFAULT: "Default",
|
|
61
|
+
DENSE: "Dense",
|
|
62
|
+
OFF: "Off",
|
|
63
|
+
SPARSE: "Sparse",
|
|
64
|
+
VERY_DENSE: "VeryDense",
|
|
65
|
+
VERY_SPARSE: "VerySparse",
|
|
66
|
+
};
|
|
48
67
|
export const Terrain = {
|
|
49
68
|
HILLSHADE: "Hillshade",
|
|
50
69
|
TERRAIN_3D: "Terrain3D",
|
|
@@ -46,6 +46,8 @@ const _M = "Message";
|
|
|
46
46
|
const _N = "Name";
|
|
47
47
|
const _P = "Padding";
|
|
48
48
|
const _PB = "PricingBucket";
|
|
49
|
+
const _PC = "PoiCategories";
|
|
50
|
+
const _PD = "PoiDensity";
|
|
49
51
|
const _PLS = "PositionListString";
|
|
50
52
|
const _POI = "PointsOfInterests";
|
|
51
53
|
const _PS = "PositionString";
|
|
@@ -97,6 +99,8 @@ const _ls = "label-size";
|
|
|
97
99
|
const _m = "message";
|
|
98
100
|
const _n = "name";
|
|
99
101
|
const _p = "padding";
|
|
102
|
+
const _pc = "poi-categories";
|
|
103
|
+
const _pd = "poi-density";
|
|
100
104
|
const _po = "pois";
|
|
101
105
|
const _pv = "political-view";
|
|
102
106
|
const _r = "reason";
|
|
@@ -195,8 +199,8 @@ export var GetStaticMapResponse$ = [3, n0, _GSMRe,
|
|
|
195
199
|
];
|
|
196
200
|
export var GetStyleDescriptorRequest$ = [3, n0, _GSDR,
|
|
197
201
|
0,
|
|
198
|
-
[_S, _CS, _PV, _T, _CD, _Tr, _TM, _Bu, _K],
|
|
199
|
-
[[0, 1], [0, { [_hQ]: _cs }], [() => CountryCode, { [_hQ]: _pv }], [0, { [_hQ]: _t }], [0, { [_hQ]: _cd }], [0, { [_hQ]: _tr }], [64 | 0, { [_hQ]: _tm }], [0, { [_hQ]: _b }], [() => ApiKey, { [_hQ]: _k }]], 1
|
|
202
|
+
[_S, _CS, _PV, _T, _CD, _Tr, _TM, _Bu, _PD, _PC, _K],
|
|
203
|
+
[[0, 1], [0, { [_hQ]: _cs }], [() => CountryCode, { [_hQ]: _pv }], [0, { [_hQ]: _t }], [0, { [_hQ]: _cd }], [0, { [_hQ]: _tr }], [64 | 0, { [_hQ]: _tm }], [0, { [_hQ]: _b }], [0, { [_hQ]: _pd }], [64 | 0, { [_hQ]: _pc }], [() => ApiKey, { [_hQ]: _k }]], 1
|
|
200
204
|
];
|
|
201
205
|
export var GetStyleDescriptorResponse$ = [3, n0, _GSDRe,
|
|
202
206
|
0,
|
|
@@ -218,6 +222,7 @@ export var ValidationExceptionField$ = [3, n0, _VEF,
|
|
|
218
222
|
[_N, _M],
|
|
219
223
|
[[0, { [_jN]: _n }], [0, { [_jN]: _m }]], 2
|
|
220
224
|
];
|
|
225
|
+
var PoiCategoryList = 64 | 0;
|
|
221
226
|
var TileAdditionalFeatureList = 64 | 0;
|
|
222
227
|
var TravelModeList = 64 | 0;
|
|
223
228
|
var ValidationExceptionFieldList = [1, n0, _VEFL,
|
|
@@ -225,17 +230,17 @@ var ValidationExceptionFieldList = [1, n0, _VEFL,
|
|
|
225
230
|
0]
|
|
226
231
|
];
|
|
227
232
|
export var GetGlyphs$ = [9, n0, _GG,
|
|
228
|
-
{ [_ht]: ["GET", "/glyphs/{FontStack}/{FontUnicodeRange}", 200] }, () => GetGlyphsRequest$, () => GetGlyphsResponse$
|
|
233
|
+
{ [_ht]: ["GET", "/v2/glyphs/{FontStack}/{FontUnicodeRange}", 200] }, () => GetGlyphsRequest$, () => GetGlyphsResponse$
|
|
229
234
|
];
|
|
230
235
|
export var GetSprites$ = [9, n0, _GS,
|
|
231
|
-
{ [_ht]: ["GET", "/styles/{Style}/{ColorScheme}/{Variant}/sprites/{FileName}", 200] }, () => GetSpritesRequest$, () => GetSpritesResponse$
|
|
236
|
+
{ [_ht]: ["GET", "/v2/styles/{Style}/{ColorScheme}/{Variant}/sprites/{FileName}", 200] }, () => GetSpritesRequest$, () => GetSpritesResponse$
|
|
232
237
|
];
|
|
233
238
|
export var GetStaticMap$ = [9, n0, _GSM,
|
|
234
|
-
{ [_ht]: ["GET", "/static/{FileName}", 200] }, () => GetStaticMapRequest$, () => GetStaticMapResponse$
|
|
239
|
+
{ [_ht]: ["GET", "/v2/static/{FileName}", 200] }, () => GetStaticMapRequest$, () => GetStaticMapResponse$
|
|
235
240
|
];
|
|
236
241
|
export var GetStyleDescriptor$ = [9, n0, _GSD,
|
|
237
|
-
{ [_ht]: ["GET", "/styles/{Style}/descriptor", 200] }, () => GetStyleDescriptorRequest$, () => GetStyleDescriptorResponse$
|
|
242
|
+
{ [_ht]: ["GET", "/v2/styles/{Style}/descriptor", 200] }, () => GetStyleDescriptorRequest$, () => GetStyleDescriptorResponse$
|
|
238
243
|
];
|
|
239
244
|
export var GetTile$ = [9, n0, _GT,
|
|
240
|
-
{ [_ht]: ["GET", "/tiles/{Tileset}/{Z}/{X}/{Y}", 200] }, () => GetTileRequest$, () => GetTileResponse$
|
|
245
|
+
{ [_ht]: ["GET", "/v2/tiles/{Tileset}/{Z}/{X}/{Y}", 200] }, () => GetTileRequest$, () => GetTileResponse$
|
|
241
246
|
];
|
package/dist-types/GeoMaps.d.ts
CHANGED
|
@@ -38,7 +38,7 @@ export interface GeoMaps {
|
|
|
38
38
|
getTile(args: GetTileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTileCommandOutput) => void): void;
|
|
39
39
|
}
|
|
40
40
|
/**
|
|
41
|
-
* <p> Integrate high-quality base map data into your applications using <a href="https://maplibre.org">MapLibre</a>. Capabilities include: </p> <ul> <li> <p>Access to comprehensive base map data, allowing you to tailor the map display to your specific needs
|
|
41
|
+
* <p> Integrate high-quality base map data into your applications using <a href="https://maplibre.org">MapLibre</a>. Capabilities include: </p> <ul> <li> <p>Access to comprehensive base map data, allowing you to tailor the map display to your specific needs. See <a href="https://docs.aws.amazon.com/location/latest/APIReference/API_geomaps_GetTile.html">GetTile</a>.</p> </li> <li> <p>Multiple pre-designed map styles suited for various application types, such as navigation, logistics, or data visualization. See <a href="https://docs.aws.amazon.com/location/latest/APIReference/API_geomaps_GetStyleDescriptor.html">GetStyleDescriptor</a>.</p> </li> <li> <p>Generation of static map images for scenarios where interactive maps aren't suitable. See <a href="https://docs.aws.amazon.com/location/latest/APIReference/API_geomaps_GetStaticMap.html">GetStaticMap</a>. Use cases include:</p> <ul> <li> <p>Embedding in emails or documents</p> </li> <li> <p>Displaying in low-bandwidth environments</p> </li> <li> <p>Creating printable maps</p> </li> <li> <p>Enhancing application performance by reducing client-side rendering</p> </li> </ul> </li> </ul>
|
|
42
42
|
* @public
|
|
43
43
|
*/
|
|
44
44
|
export declare class GeoMaps extends GeoMapsClient implements GeoMaps {
|
|
@@ -173,7 +173,7 @@ export type GeoMapsClientResolvedConfigType = __SmithyResolvedConfiguration<__Ht
|
|
|
173
173
|
export interface GeoMapsClientResolvedConfig extends GeoMapsClientResolvedConfigType {
|
|
174
174
|
}
|
|
175
175
|
/**
|
|
176
|
-
* <p> Integrate high-quality base map data into your applications using <a href="https://maplibre.org">MapLibre</a>. Capabilities include: </p> <ul> <li> <p>Access to comprehensive base map data, allowing you to tailor the map display to your specific needs
|
|
176
|
+
* <p> Integrate high-quality base map data into your applications using <a href="https://maplibre.org">MapLibre</a>. Capabilities include: </p> <ul> <li> <p>Access to comprehensive base map data, allowing you to tailor the map display to your specific needs. See <a href="https://docs.aws.amazon.com/location/latest/APIReference/API_geomaps_GetTile.html">GetTile</a>.</p> </li> <li> <p>Multiple pre-designed map styles suited for various application types, such as navigation, logistics, or data visualization. See <a href="https://docs.aws.amazon.com/location/latest/APIReference/API_geomaps_GetStyleDescriptor.html">GetStyleDescriptor</a>.</p> </li> <li> <p>Generation of static map images for scenarios where interactive maps aren't suitable. See <a href="https://docs.aws.amazon.com/location/latest/APIReference/API_geomaps_GetStaticMap.html">GetStaticMap</a>. Use cases include:</p> <ul> <li> <p>Embedding in emails or documents</p> </li> <li> <p>Displaying in low-bandwidth environments</p> </li> <li> <p>Creating printable maps</p> </li> <li> <p>Enhancing application performance by reducing client-side rendering</p> </li> </ul> </li> </ul>
|
|
177
177
|
* @public
|
|
178
178
|
*/
|
|
179
179
|
export declare class GeoMapsClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, GeoMapsClientResolvedConfig> {
|
|
@@ -42,9 +42,9 @@ declare const GetSpritesCommand_base: {
|
|
|
42
42
|
* const client = new GeoMapsClient(config);
|
|
43
43
|
* const input = { // GetSpritesRequest
|
|
44
44
|
* FileName: "STRING_VALUE", // required
|
|
45
|
-
* Style: "
|
|
46
|
-
* ColorScheme: "
|
|
47
|
-
* Variant: "
|
|
45
|
+
* Style: "Standard" || "Monochrome" || "Hybrid" || "Satellite", // required
|
|
46
|
+
* ColorScheme: "Light" || "Dark", // required
|
|
47
|
+
* Variant: "Default", // required
|
|
48
48
|
* };
|
|
49
49
|
* const command = new GetSpritesCommand(input);
|
|
50
50
|
* const response = await client.send(command);
|
|
@@ -31,7 +31,7 @@ declare const GetStaticMapCommand_base: {
|
|
|
31
31
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
32
32
|
};
|
|
33
33
|
/**
|
|
34
|
-
* <
|
|
34
|
+
* <p> <code>GetStaticMap</code> provides high-quality static map images with customizable options. You can modify the map's appearance and overlay additional information. It's an ideal solution for applications requiring tailored static map snapshots. Not supported in <code>ap-southeast-1</code> and <code>ap-southeast-5</code> regions for <a href="https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html">GrabMaps</a> customers.</p> <p>For more information, see the following topics in the <i>Amazon Location Service Developer Guide</i>:</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/location/latest/developerguide/static-maps.html">Static maps</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/location/latest/developerguide/customizing-static-maps.html">Customize static maps</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/location/latest/developerguide/overlaying-static-map.html">Overlay on the static map</a> </p> </li> </ul>
|
|
35
35
|
* @example
|
|
36
36
|
* Use a bare-bones client and the command you need to make an API call.
|
|
37
37
|
* ```javascript
|
|
@@ -44,21 +44,21 @@ declare const GetStaticMapCommand_base: {
|
|
|
44
44
|
* BoundingBox: "STRING_VALUE",
|
|
45
45
|
* BoundedPositions: "STRING_VALUE",
|
|
46
46
|
* Center: "STRING_VALUE",
|
|
47
|
-
* ColorScheme: "
|
|
47
|
+
* ColorScheme: "Light" || "Dark",
|
|
48
48
|
* CompactOverlay: "STRING_VALUE",
|
|
49
49
|
* CropLabels: true || false,
|
|
50
50
|
* GeoJsonOverlay: "STRING_VALUE",
|
|
51
51
|
* Height: Number("int"), // required
|
|
52
52
|
* Key: "STRING_VALUE",
|
|
53
|
-
* LabelSize: "
|
|
53
|
+
* LabelSize: "Small" || "Large",
|
|
54
54
|
* Language: "STRING_VALUE",
|
|
55
55
|
* Padding: Number("int"),
|
|
56
56
|
* PoliticalView: "STRING_VALUE",
|
|
57
|
-
* PointsOfInterests: "
|
|
57
|
+
* PointsOfInterests: "Enabled" || "Disabled",
|
|
58
58
|
* Radius: Number("long"),
|
|
59
59
|
* FileName: "STRING_VALUE", // required
|
|
60
|
-
* ScaleBarUnit: "
|
|
61
|
-
* Style: "
|
|
60
|
+
* ScaleBarUnit: "Kilometers" || "KilometersMiles" || "Miles" || "MilesKilometers",
|
|
61
|
+
* Style: "Satellite" || "Standard",
|
|
62
62
|
* Width: Number("int"), // required
|
|
63
63
|
* Zoom: Number("float"),
|
|
64
64
|
* };
|
|
@@ -41,16 +41,20 @@ declare const GetStyleDescriptorCommand_base: {
|
|
|
41
41
|
* const config = {}; // type is GeoMapsClientConfig
|
|
42
42
|
* const client = new GeoMapsClient(config);
|
|
43
43
|
* const input = { // GetStyleDescriptorRequest
|
|
44
|
-
* Style: "
|
|
45
|
-
* ColorScheme: "
|
|
44
|
+
* Style: "Standard" || "Monochrome" || "Hybrid" || "Satellite", // required
|
|
45
|
+
* ColorScheme: "Light" || "Dark",
|
|
46
46
|
* PoliticalView: "STRING_VALUE",
|
|
47
|
-
* Terrain: "
|
|
48
|
-
* ContourDensity: "
|
|
49
|
-
* Traffic: "
|
|
47
|
+
* Terrain: "Hillshade" || "Terrain3D",
|
|
48
|
+
* ContourDensity: "Low" || "Medium" || "High",
|
|
49
|
+
* Traffic: "All" || "Congestion",
|
|
50
50
|
* TravelModes: [ // TravelModeList
|
|
51
|
-
* "
|
|
51
|
+
* "Transit" || "Truck",
|
|
52
|
+
* ],
|
|
53
|
+
* Buildings: "Buildings3D",
|
|
54
|
+
* PoiDensity: "Off" || "VerySparse" || "Sparse" || "Default" || "Dense" || "VeryDense",
|
|
55
|
+
* PoiCategories: [ // PoiCategoryList
|
|
56
|
+
* "FoodAndDrink" || "Entertainment" || "SightsAndMuseums" || "Transportation" || "Accommodations" || "LeisureAndOutdoor" || "Shopping" || "BusinessAndServices" || "FacilitiesAndBuildings",
|
|
52
57
|
* ],
|
|
53
|
-
* Buildings: "STRING_VALUE",
|
|
54
58
|
* Key: "STRING_VALUE",
|
|
55
59
|
* };
|
|
56
60
|
* const command = new GetStyleDescriptorCommand(input);
|
|
@@ -42,7 +42,7 @@ declare const GetTileCommand_base: {
|
|
|
42
42
|
* const client = new GeoMapsClient(config);
|
|
43
43
|
* const input = { // GetTileRequest
|
|
44
44
|
* AdditionalFeatures: [ // TileAdditionalFeatureList
|
|
45
|
-
* "
|
|
45
|
+
* "ContourLines" || "Hillshade" || "Logistics" || "Transit",
|
|
46
46
|
* ],
|
|
47
47
|
* Tileset: "STRING_VALUE", // required
|
|
48
48
|
* Z: "STRING_VALUE", // required
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* <p> Integrate high-quality base map data into your applications using <a href="https://maplibre.org">MapLibre</a>. Capabilities include: </p> <ul> <li> <p>Access to comprehensive base map data, allowing you to tailor the map display to your specific needs
|
|
2
|
+
* <p> Integrate high-quality base map data into your applications using <a href="https://maplibre.org">MapLibre</a>. Capabilities include: </p> <ul> <li> <p>Access to comprehensive base map data, allowing you to tailor the map display to your specific needs. See <a href="https://docs.aws.amazon.com/location/latest/APIReference/API_geomaps_GetTile.html">GetTile</a>.</p> </li> <li> <p>Multiple pre-designed map styles suited for various application types, such as navigation, logistics, or data visualization. See <a href="https://docs.aws.amazon.com/location/latest/APIReference/API_geomaps_GetStyleDescriptor.html">GetStyleDescriptor</a>.</p> </li> <li> <p>Generation of static map images for scenarios where interactive maps aren't suitable. See <a href="https://docs.aws.amazon.com/location/latest/APIReference/API_geomaps_GetStaticMap.html">GetStaticMap</a>. Use cases include:</p> <ul> <li> <p>Embedding in emails or documents</p> </li> <li> <p>Displaying in low-bandwidth environments</p> </li> <li> <p>Creating printable maps</p> </li> <li> <p>Enhancing application performance by reducing client-side rendering</p> </li> </ul> </li> </ul>
|
|
3
3
|
*
|
|
4
4
|
* @packageDocumentation
|
|
5
5
|
*/
|
|
@@ -114,17 +114,7 @@ export type StaticMapStyle = (typeof StaticMapStyle)[keyof typeof StaticMapStyle
|
|
|
114
114
|
* @enum
|
|
115
115
|
*/
|
|
116
116
|
export declare const ValidationExceptionReason: {
|
|
117
|
-
/**
|
|
118
|
-
* The input cannot be parsed. For example a required JSON document, ARN identifier,
|
|
119
|
-
* date value, or numeric field cannot be parsed.
|
|
120
|
-
*
|
|
121
|
-
*/
|
|
122
117
|
readonly CANNOT_PARSE: "CannotParse";
|
|
123
|
-
/**
|
|
124
|
-
* The input is present and parsable, but it is otherwise invalid. For example, a
|
|
125
|
-
* required numeric argument is outside the allowed range.
|
|
126
|
-
*
|
|
127
|
-
*/
|
|
128
118
|
readonly FIELD_VALIDATION_FAILED: "FieldValidationFailed";
|
|
129
119
|
/**
|
|
130
120
|
* The required input is missing.
|
|
@@ -147,6 +137,41 @@ export declare const ValidationExceptionReason: {
|
|
|
147
137
|
* @public
|
|
148
138
|
*/
|
|
149
139
|
export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
140
|
+
/**
|
|
141
|
+
* @public
|
|
142
|
+
* @enum
|
|
143
|
+
*/
|
|
144
|
+
export declare const PoiCategory: {
|
|
145
|
+
readonly ACCOMMODATIONS: "Accommodations";
|
|
146
|
+
readonly BUSINESS_AND_SERVICES: "BusinessAndServices";
|
|
147
|
+
readonly ENTERTAINMENT: "Entertainment";
|
|
148
|
+
readonly FACILITIES_AND_BUILDINGS: "FacilitiesAndBuildings";
|
|
149
|
+
readonly FOOD_AND_DRINK: "FoodAndDrink";
|
|
150
|
+
readonly LEISURE_AND_OUTDOOR: "LeisureAndOutdoor";
|
|
151
|
+
readonly SHOPPING: "Shopping";
|
|
152
|
+
readonly SIGHTS_AND_MUSEUMS: "SightsAndMuseums";
|
|
153
|
+
readonly TRANSPORTATION: "Transportation";
|
|
154
|
+
};
|
|
155
|
+
/**
|
|
156
|
+
* @public
|
|
157
|
+
*/
|
|
158
|
+
export type PoiCategory = (typeof PoiCategory)[keyof typeof PoiCategory];
|
|
159
|
+
/**
|
|
160
|
+
* @public
|
|
161
|
+
* @enum
|
|
162
|
+
*/
|
|
163
|
+
export declare const PoiDensity: {
|
|
164
|
+
readonly DEFAULT: "Default";
|
|
165
|
+
readonly DENSE: "Dense";
|
|
166
|
+
readonly OFF: "Off";
|
|
167
|
+
readonly SPARSE: "Sparse";
|
|
168
|
+
readonly VERY_DENSE: "VeryDense";
|
|
169
|
+
readonly VERY_SPARSE: "VerySparse";
|
|
170
|
+
};
|
|
171
|
+
/**
|
|
172
|
+
* @public
|
|
173
|
+
*/
|
|
174
|
+
export type PoiDensity = (typeof PoiDensity)[keyof typeof PoiDensity];
|
|
150
175
|
/**
|
|
151
176
|
* @public
|
|
152
177
|
* @enum
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Buildings, ColorScheme, ContourDensity, LabelSize, MapFeatureMode, MapStyle, ScaleBarUnit, StaticMapStyle, Terrain, TileAdditionalFeature, Traffic, TravelMode, Variant } from "./enums";
|
|
1
|
+
import type { Buildings, ColorScheme, ContourDensity, LabelSize, MapFeatureMode, MapStyle, PoiCategory, PoiDensity, ScaleBarUnit, StaticMapStyle, Terrain, TileAdditionalFeature, Traffic, TravelMode, Variant } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* @public
|
|
4
4
|
*/
|
|
@@ -284,6 +284,16 @@ export interface GetStyleDescriptorRequest {
|
|
|
284
284
|
* @public
|
|
285
285
|
*/
|
|
286
286
|
Buildings?: Buildings | undefined;
|
|
287
|
+
/**
|
|
288
|
+
* <p>Controls how densely points of interest are rendered on the map. The density value controls the zoom level at which each category of points of interest appears, and how quickly less prominent points of interest are revealed as you zoom in. Denser values display more points of interest at lower zoom levels.</p> <p>Use <code>Off</code> to hide all points of interest. When you omit this parameter, the map renders at <code>Default</code> density.</p> <note> <p>The difference between density values is most noticeable at mid-range zoom levels. At high zoom levels, all density values converge on displaying every available point of interest.</p> </note> <p>This parameter is valid only for the <code>Standard</code> and <code>Hybrid</code> map styles. In <code>ap-southeast-1</code> and <code>ap-southeast-5</code> regions for <a href="https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html">GrabMaps</a> customers, this parameter is valid only for the <code>Standard</code> map style.</p>
|
|
289
|
+
* @public
|
|
290
|
+
*/
|
|
291
|
+
PoiDensity?: PoiDensity | undefined;
|
|
292
|
+
/**
|
|
293
|
+
* <p>Renders only the specified categories of points of interest. When you omit this parameter, the map renders all categories.</p> <p>The following categories are currently supported:</p> <ul> <li> <p> <code>FoodAndDrink</code> </p> </li> <li> <p> <code>Entertainment</code> </p> </li> <li> <p> <code>SightsAndMuseums</code> </p> </li> <li> <p> <code>Transportation</code> </p> </li> <li> <p> <code>Accommodations</code> </p> </li> <li> <p> <code>LeisureAndOutdoor</code> </p> </li> <li> <p> <code>Shopping</code> </p> </li> <li> <p> <code>BusinessAndServices</code> </p> </li> <li> <p> <code>FacilitiesAndBuildings</code> </p> </li> </ul> <p>Specify each category as a separate <code>poi-categories</code> query parameter. Duplicate values are rejected.</p> <note> <p>This parameter has no effect when <code>poi-density</code> is set to <code>Off</code>, which hides all points of interest regardless of category.</p> </note> <p>This parameter is valid only for the <code>Standard</code> and <code>Hybrid</code> map styles. In <code>ap-southeast-1</code> and <code>ap-southeast-5</code> regions for <a href="https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html">GrabMaps</a> customers, this parameter is valid only for the <code>Standard</code> map style.</p>
|
|
294
|
+
* @public
|
|
295
|
+
*/
|
|
296
|
+
PoiCategories?: PoiCategory[] | undefined;
|
|
287
297
|
/**
|
|
288
298
|
* <p>Optional: The API key to be used for authorization. Either an API key or valid SigV4 signature must be provided when making a request. </p>
|
|
289
299
|
* @public
|
|
@@ -56,6 +56,27 @@ export declare const ValidationExceptionReason: {
|
|
|
56
56
|
};
|
|
57
57
|
export type ValidationExceptionReason =
|
|
58
58
|
(typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
59
|
+
export declare const PoiCategory: {
|
|
60
|
+
readonly ACCOMMODATIONS: "Accommodations";
|
|
61
|
+
readonly BUSINESS_AND_SERVICES: "BusinessAndServices";
|
|
62
|
+
readonly ENTERTAINMENT: "Entertainment";
|
|
63
|
+
readonly FACILITIES_AND_BUILDINGS: "FacilitiesAndBuildings";
|
|
64
|
+
readonly FOOD_AND_DRINK: "FoodAndDrink";
|
|
65
|
+
readonly LEISURE_AND_OUTDOOR: "LeisureAndOutdoor";
|
|
66
|
+
readonly SHOPPING: "Shopping";
|
|
67
|
+
readonly SIGHTS_AND_MUSEUMS: "SightsAndMuseums";
|
|
68
|
+
readonly TRANSPORTATION: "Transportation";
|
|
69
|
+
};
|
|
70
|
+
export type PoiCategory = (typeof PoiCategory)[keyof typeof PoiCategory];
|
|
71
|
+
export declare const PoiDensity: {
|
|
72
|
+
readonly DEFAULT: "Default";
|
|
73
|
+
readonly DENSE: "Dense";
|
|
74
|
+
readonly OFF: "Off";
|
|
75
|
+
readonly SPARSE: "Sparse";
|
|
76
|
+
readonly VERY_DENSE: "VeryDense";
|
|
77
|
+
readonly VERY_SPARSE: "VerySparse";
|
|
78
|
+
};
|
|
79
|
+
export type PoiDensity = (typeof PoiDensity)[keyof typeof PoiDensity];
|
|
59
80
|
export declare const Terrain: {
|
|
60
81
|
readonly HILLSHADE: "Hillshade";
|
|
61
82
|
readonly TERRAIN_3D: "Terrain3D";
|
|
@@ -5,6 +5,8 @@ import {
|
|
|
5
5
|
LabelSize,
|
|
6
6
|
MapFeatureMode,
|
|
7
7
|
MapStyle,
|
|
8
|
+
PoiCategory,
|
|
9
|
+
PoiDensity,
|
|
8
10
|
ScaleBarUnit,
|
|
9
11
|
StaticMapStyle,
|
|
10
12
|
Terrain,
|
|
@@ -77,6 +79,8 @@ export interface GetStyleDescriptorRequest {
|
|
|
77
79
|
Traffic?: Traffic | undefined;
|
|
78
80
|
TravelModes?: TravelMode[] | undefined;
|
|
79
81
|
Buildings?: Buildings | undefined;
|
|
82
|
+
PoiDensity?: PoiDensity | undefined;
|
|
83
|
+
PoiCategories?: PoiCategory[] | undefined;
|
|
80
84
|
Key?: string | undefined;
|
|
81
85
|
}
|
|
82
86
|
export interface GetStyleDescriptorResponse {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-geo-maps",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1112.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Geo Maps Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-geo-maps",
|
|
6
6
|
"license": "Apache-2.0",
|