get_map_glyphs
async
¶
get_map_glyphs(
map_name: ResourceName,
font_stack: str,
font_unicode_range: str,
*,
config_overrides: Optional[AsyncLocationClientConfig] = None,
key: Optional[ApiKey] = None,
) -> GetMapGlyphsResponse
This operation is no longer current and may be deprecated in the future. We recommend upgrading to The version 2 If you are using an AWS SDK or the AWS CLI, note that the Maps API version 2 is found under Since Start your version 2 API journey with the Maps V2 API Reference or the Developer Guide.GetGlyphs unless you require Grab data.
GetMapGlyphs is part of a previous Amazon Location Service Maps API (version 1) which has been superseded by a more intuitive, powerful, and complete API (version 2).GetGlyphs operation gives a better user experience and is compatible with the remainder of the V2 Maps API.geo-maps or geo_maps, not under location.Grab is not yet fully supported in Maps API version 2, we recommend you continue using API version 1 when using Grab.
Retrieves glyphs used to display labels on a map.
Parameters:
-
map_name(ResourceName) –The map resource associated with the glyph file.
-
font_stack(str) –A comma-separated list of fonts to load glyphs from in order of preference. For example,
Noto Sans Regular, Arial Unicode.Valid font stacks for Esri styles:
-
VectorEsriDarkGrayCanvas –
Ubuntu Medium Italic|Ubuntu Medium|Ubuntu Italic|Ubuntu Regular|Ubuntu Bold -
VectorEsriLightGrayCanvas –
Ubuntu Italic|Ubuntu Regular|Ubuntu Light|Ubuntu Bold -
VectorEsriTopographic –
Noto Sans Italic|Noto Sans Regular|Noto Sans Bold|Noto Serif Regular|Roboto Condensed Light Italic -
VectorEsriStreets –
Arial Regular|Arial Italic|Arial Bold -
VectorEsriNavigation –
Arial Regular|Arial Italic|Arial Bold
Valid font stacks for HERE Technologies styles:
-
VectorHereContrast –
Fira GO Regular|Fira GO Bold -
VectorHereExplore, VectorHereExploreTruck, HybridHereExploreSatellite –
Fira GO Italic|Fira GO Map|Fira GO Map Bold|Noto Sans CJK JP Bold|Noto Sans CJK JP Light|Noto Sans CJK JP Regular
Valid font stacks for GrabMaps styles:
-
VectorGrabStandardLight, VectorGrabStandardDark –
Noto Sans Regular|Noto Sans Medium|Noto Sans Bold
Valid font stacks for Open Data styles:
-
VectorOpenDataStandardLight, VectorOpenDataStandardDark, VectorOpenDataVisualizationLight, VectorOpenDataVisualizationDark –
Amazon Ember Regular,Noto Sans Regular|Amazon Ember Bold,Noto Sans Bold|Amazon Ember Medium,Noto Sans Medium|Amazon Ember Regular Italic,Noto Sans Italic|Amazon Ember Condensed RC Regular,Noto Sans Regular|Amazon Ember Condensed RC Bold,Noto Sans Bold|Amazon Ember Regular,Noto Sans Regular,Noto Sans Arabic Regular|Amazon Ember Condensed RC Bold,Noto Sans Bold,Noto Sans Arabic Condensed Bold|Amazon Ember Bold,Noto Sans Bold,Noto Sans Arabic Bold|Amazon Ember Regular Italic,Noto Sans Italic,Noto Sans Arabic Regular|Amazon Ember Condensed RC Regular,Noto Sans Regular,Noto Sans Arabic Condensed Regular|Amazon Ember Medium,Noto Sans Medium,Noto Sans Arabic Medium
The fonts used by the Open Data map styles are combined fonts that use
Amazon Emberfor most glyphs butNoto Sansfor glyphs unsupported byAmazon Ember. -
-
font_unicode_range(str) –A Unicode range of characters to download glyphs for. Each response will contain 256 characters. For example, 0–255 includes all characters from range
U+0000to00FF. Must be aligned to multiples of 256. -
key(Optional[ApiKey], default:None) –The optional API key to authorize the request.
Raises:
-
AccessDeniedException–The request was denied because of insufficient access or permissions. Check with an administrator to verify your permissions.
-
InternalServerException–The request has failed to process because of an unknown server error, exception, or failure.
-
ResourceNotFoundException–The resource that you've entered was not found in your AWS account.
-
ThrottlingException–The request was denied because of request throttling.
-
ValidationException–The input failed to meet the constraints specified by the AWS service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_location/_services/async_location.py
2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 | |