Skip to content

Commit f7e1a71

Browse files
author
awstools
committed
feat(client-geo-maps): This release expands map customization options with adjustable contour line density, dark mode support for Hybrid and Satellite views, enhanced traffic information across multiple map styles, and transit and truck travel modes for Monochrome and Hybrid map styles.
1 parent 1fc4082 commit f7e1a71

3 files changed

Lines changed: 27 additions & 12 deletions

File tree

clients/client-geo-maps/src/models/enums.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ export type ColorScheme = (typeof ColorScheme)[keyof typeof ColorScheme];
2929
* @enum
3030
*/
3131
export const ContourDensity = {
32+
HIGH: "High",
33+
LOW: "Low",
3234
MEDIUM: "Medium",
3335
} as const;
3436
/**
@@ -175,6 +177,7 @@ export type Terrain = (typeof Terrain)[keyof typeof Terrain];
175177
*/
176178
export const Traffic = {
177179
ALL: "All",
180+
CONGESTION: "Congestion",
178181
} as const;
179182
/**
180183
* @public

clients/client-geo-maps/src/models/models_0.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export interface GetSpritesRequest {
7878
Style: MapStyle | undefined;
7979

8080
/**
81-
* <p>Sets color tone for map such as dark and light for specific map styles. It applies to only vector map styles such as Standard and Monochrome.</p> <p>Example: <code>Light</code> </p> <p>Default value: <code>Light</code> </p> <note> <p>Valid values for ColorScheme are case sensitive.</p> </note>
81+
* <p>Sets the color tone for the map sprites, such as dark and light.</p> <p>Example: <code>Light</code> </p> <p>Default value: <code>Light</code> </p> <note> <p>Valid values for ColorScheme are case sensitive.</p> </note>
8282
* @public
8383
*/
8484
ColorScheme: ColorScheme | undefined;
@@ -142,7 +142,7 @@ export interface GetStaticMapRequest {
142142
Center?: string | undefined;
143143

144144
/**
145-
* <p>Sets color tone for map, such as dark and light for specific map styles. It only applies to vector map styles, such as Standard.</p> <p>Example: <code>Light</code> </p> <p>Default value: <code>Light</code> </p> <note> <p>Valid values for <code>ColorScheme</code> are case sensitive.</p> </note>
145+
* <p>Sets the color tone for the map, such as dark and light.</p> <p>Example: <code>Light</code> </p> <p>Default value: <code>Light</code> </p> <note> <p>Valid values for <code>ColorScheme</code> are case sensitive.</p> </note>
146146
* @public
147147
*/
148148
ColorScheme?: ColorScheme | undefined;
@@ -308,7 +308,7 @@ export interface GetStyleDescriptorRequest {
308308
Style: MapStyle | undefined;
309309

310310
/**
311-
* <p>Sets color tone for map such as dark and light for specific map styles. It applies to only vector map styles such as Standard and Monochrome.</p> <p>Example: <code>Light</code> </p> <p>Default value: <code>Light</code> </p> <note> <p>Valid values for ColorScheme are case sensitive.</p> </note>
311+
* <p>Sets the color tone for the map, such as dark and light.</p> <p>Example: <code>Light</code> </p> <p>Default value: <code>Light</code> </p> <note> <p>Valid values for ColorScheme are case sensitive.</p> </note>
312312
* @public
313313
*/
314314
ColorScheme?: ColorScheme | undefined;
@@ -326,19 +326,19 @@ export interface GetStyleDescriptorRequest {
326326
Terrain?: Terrain | undefined;
327327

328328
/**
329-
* <p>Displays the shape and steepness of terrain features using elevation lines. The density value controls how densely the available contour line information is rendered on the map.</p> <p>This parameter is valid only for the <code>Standard</code>, <code>Monochrome</code>, and <code>Hybrid</code> map styles.</p>
329+
* <p>Displays the shape and steepness of terrain features using elevation lines. The density value controls how densely the available contour line information is rendered on the map.</p> <p>This parameter is valid for all map styles except <code>Satellite</code>.</p>
330330
* @public
331331
*/
332332
ContourDensity?: ContourDensity | undefined;
333333

334334
/**
335-
* <p>Displays real-time traffic information overlay on map, such as incident events and flow events.</p> <p>This parameter is valid only for the <code>Standard</code> map style.</p>
335+
* <p>Displays real-time traffic information overlay on map, such as incident events and flow events.</p> <p>This parameter is valid for all map styles except <code>Satellite</code>.</p>
336336
* @public
337337
*/
338338
Traffic?: Traffic | undefined;
339339

340340
/**
341-
* <p>Renders additional map information relevant to selected travel modes. Information for multiple travel modes can be displayed simultaneously, although this increases the overall information density rendered on the map.</p> <p>This parameter is valid only for the <code>Standard</code> map style.</p>
341+
* <p>Renders additional map information relevant to selected travel modes. Information for multiple travel modes can be displayed simultaneously, although this increases the overall information density rendered on the map.</p> <p>This parameter is valid for all map styles except <code>Satellite</code>.</p>
342342
* @public
343343
*/
344344
TravelModes?: TravelMode[] | undefined;

codegen/sdk-codegen/aws-models/geo-maps.json

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,17 @@
7070
"type": "string",
7171
"traits": {
7272
"smithy.api#enum": [
73+
{
74+
"name": "LOW",
75+
"value": "Low"
76+
},
7377
{
7478
"name": "MEDIUM",
7579
"value": "Medium"
80+
},
81+
{
82+
"name": "HIGH",
83+
"value": "High"
7684
}
7785
]
7886
}
@@ -267,7 +275,7 @@
267275
"ColorScheme": {
268276
"target": "com.amazonaws.geomaps#ColorScheme",
269277
"traits": {
270-
"smithy.api#documentation": "<p>Sets color tone for map such as dark and light for specific map styles. It applies to only vector map styles such as Standard and Monochrome.</p> <p>Example: <code>Light</code> </p> <p>Default value: <code>Light</code> </p> <note> <p>Valid values for ColorScheme are case sensitive.</p> </note>",
278+
"smithy.api#documentation": "<p>Sets the color tone for the map sprites, such as dark and light.</p> <p>Example: <code>Light</code> </p> <p>Default value: <code>Light</code> </p> <note> <p>Valid values for ColorScheme are case sensitive.</p> </note>",
271279
"smithy.api#httpLabel": {},
272280
"smithy.api#required": {}
273281
}
@@ -406,7 +414,7 @@
406414
"ColorScheme": {
407415
"target": "com.amazonaws.geomaps#ColorScheme",
408416
"traits": {
409-
"smithy.api#documentation": "<p>Sets color tone for map, such as dark and light for specific map styles. It only applies to vector map styles, such as Standard.</p> <p>Example: <code>Light</code> </p> <p>Default value: <code>Light</code> </p> <note> <p>Valid values for <code>ColorScheme</code> are case sensitive.</p> </note>",
417+
"smithy.api#documentation": "<p>Sets the color tone for the map, such as dark and light.</p> <p>Example: <code>Light</code> </p> <p>Default value: <code>Light</code> </p> <note> <p>Valid values for <code>ColorScheme</code> are case sensitive.</p> </note>",
410418
"smithy.api#httpQuery": "color-scheme"
411419
}
412420
},
@@ -639,7 +647,7 @@
639647
"ColorScheme": {
640648
"target": "com.amazonaws.geomaps#ColorScheme",
641649
"traits": {
642-
"smithy.api#documentation": "<p>Sets color tone for map such as dark and light for specific map styles. It applies to only vector map styles such as Standard and Monochrome.</p> <p>Example: <code>Light</code> </p> <p>Default value: <code>Light</code> </p> <note> <p>Valid values for ColorScheme are case sensitive.</p> </note>",
650+
"smithy.api#documentation": "<p>Sets the color tone for the map, such as dark and light.</p> <p>Example: <code>Light</code> </p> <p>Default value: <code>Light</code> </p> <note> <p>Valid values for ColorScheme are case sensitive.</p> </note>",
643651
"smithy.api#httpQuery": "color-scheme"
644652
}
645653
},
@@ -660,21 +668,21 @@
660668
"ContourDensity": {
661669
"target": "com.amazonaws.geomaps#ContourDensity",
662670
"traits": {
663-
"smithy.api#documentation": "<p>Displays the shape and steepness of terrain features using elevation lines. The density value controls how densely the available contour line information is rendered on the map.</p> <p>This parameter is valid only for the <code>Standard</code>, <code>Monochrome</code>, and <code>Hybrid</code> map styles.</p>",
671+
"smithy.api#documentation": "<p>Displays the shape and steepness of terrain features using elevation lines. The density value controls how densely the available contour line information is rendered on the map.</p> <p>This parameter is valid for all map styles except <code>Satellite</code>.</p>",
664672
"smithy.api#httpQuery": "contour-density"
665673
}
666674
},
667675
"Traffic": {
668676
"target": "com.amazonaws.geomaps#Traffic",
669677
"traits": {
670-
"smithy.api#documentation": "<p>Displays real-time traffic information overlay on map, such as incident events and flow events.</p> <p>This parameter is valid only for the <code>Standard</code> map style.</p>",
678+
"smithy.api#documentation": "<p>Displays real-time traffic information overlay on map, such as incident events and flow events.</p> <p>This parameter is valid for all map styles except <code>Satellite</code>.</p>",
671679
"smithy.api#httpQuery": "traffic"
672680
}
673681
},
674682
"TravelModes": {
675683
"target": "com.amazonaws.geomaps#TravelModeList",
676684
"traits": {
677-
"smithy.api#documentation": "<p>Renders additional map information relevant to selected travel modes. Information for multiple travel modes can be displayed simultaneously, although this increases the overall information density rendered on the map.</p> <p>This parameter is valid only for the <code>Standard</code> map style.</p>",
685+
"smithy.api#documentation": "<p>Renders additional map information relevant to selected travel modes. Information for multiple travel modes can be displayed simultaneously, although this increases the overall information density rendered on the map.</p> <p>This parameter is valid for all map styles except <code>Satellite</code>.</p>",
678686
"smithy.api#httpQuery": "travel-modes"
679687
}
680688
},
@@ -2276,6 +2284,10 @@
22762284
{
22772285
"name": "ALL",
22782286
"value": "All"
2287+
},
2288+
{
2289+
"name": "CONGESTION",
2290+
"value": "Congestion"
22792291
}
22802292
]
22812293
}

0 commit comments

Comments
 (0)