GetMapGlyphs
Retrieves glyphs used to display labels on a map.
Request Syntax
GET /maps/v0/maps/MapName
/glyphs/FontStack
/FontUnicodeRange
?key=Key
HTTP/1.1
URI Request Parameters
The request uses the following URI parameters.
- FontStack
-
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
Note
The fonts used by the Open Data map styles are combined fonts that use
Amazon Ember
for most glyphs butNoto Sans
for glyphs unsupported byAmazon Ember
.Required: Yes
-
- FontUnicodeRange
-
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
to00FF
. Must be aligned to multiples of 256.Pattern:
[0-9]+-[0-9]+\.pbf
Required: Yes
- Key
-
The optional API key to authorize the request.
Length Constraints: Minimum length of 0. Maximum length of 1000.
- MapName
-
The map resource associated with the glyph file.
Length Constraints: Minimum length of 1. Maximum length of 100.
Pattern:
[-._\w]+
Required: Yes
Request Body
The request does not have a request body.
Response Syntax
HTTP/1.1 200
Content-Type: ContentType
Cache-Control: CacheControl
Blob
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The response returns the following HTTP headers.
- CacheControl
-
The HTTP Cache-Control directive for the value.
- ContentType
-
The map glyph content type. For example,
application/octet-stream
.
The response returns the following as the HTTP body.
- Blob
-
The glyph, as binary blob.
Errors
For information about the errors that are common to all actions, see Common Errors.
- AccessDeniedException
-
The request was denied because of insufficient access or permissions. Check with an administrator to verify your permissions.
HTTP Status Code: 403
- InternalServerException
-
The request has failed to process because of an unknown server error, exception, or failure.
HTTP Status Code: 500
- ResourceNotFoundException
-
The resource that you've entered was not found in your AWS account.
HTTP Status Code: 404
- ThrottlingException
-
The request was denied because of request throttling.
HTTP Status Code: 429
- ValidationException
-
The input failed to meet the constraints specified by the AWS service.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: