get_map_glyphs
(**kwargs)¶Retrieves glyphs used to display labels on a map.
See also: AWS API Documentation
Request Syntax
response = client.get_map_glyphs(
FontStack='string',
FontUnicodeRange='string',
Key='string',
MapName='string'
)
[REQUIRED]
A comma-separated list of fonts to load glyphs from in order of preference. For example, Noto Sans Regular, Arial Unicode
.
Valid fonts stacks for Esri styles:
Ubuntu Medium Italic
| Ubuntu Medium
| Ubuntu Italic
| Ubuntu Regular
| Ubuntu Bold
Ubuntu Italic
| Ubuntu Regular
| Ubuntu Light
| Ubuntu Bold
Noto Sans Italic
| Noto Sans Regular
| Noto Sans Bold
| Noto Serif Regular
| Roboto Condensed Light Italic
Arial Regular
| Arial Italic
| Arial Bold
Arial Regular
| Arial Italic
| Arial Bold
Valid font stacks for HERE Technologies styles:
Fira GO Regular
| Fira GO Bold
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:
Noto Sans Regular
| Noto Sans Medium
| Noto Sans Bold
Valid font stacks for Open Data (Preview) styles:
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
Note
The fonts used by VectorOpenDataStandardLight
are combined fonts that use Amazon Ember
for most glyphs but Noto Sans
for glyphs unsupported by Amazon Ember
.
[REQUIRED]
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+0000
to 00FF
. Must be aligned to multiples of 256.
[REQUIRED]
The map resource associated with the glyph file.
dict
Response Syntax
{
'Blob': StreamingBody(),
'CacheControl': 'string',
'ContentType': 'string'
}
Response Structure
(dict) --
Blob (StreamingBody
) --
The glyph, as binary blob.
CacheControl (string) --
The HTTP Cache-Control directive for the value.
ContentType (string) --
The map glyph content type. For example, application/octet-stream
.
Exceptions
LocationService.Client.exceptions.InternalServerException
LocationService.Client.exceptions.ResourceNotFoundException
LocationService.Client.exceptions.AccessDeniedException
LocationService.Client.exceptions.ValidationException
LocationService.Client.exceptions.ThrottlingException