Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Retrieves glyphs used to display labels on a map.
Synopsis
- data GetMapGlyphs = GetMapGlyphs' {}
- newGetMapGlyphs :: Text -> Text -> Text -> GetMapGlyphs
- getMapGlyphs_fontStack :: Lens' GetMapGlyphs Text
- getMapGlyphs_fontUnicodeRange :: Lens' GetMapGlyphs Text
- getMapGlyphs_mapName :: Lens' GetMapGlyphs Text
- data GetMapGlyphsResponse = GetMapGlyphsResponse' {
- blob :: Maybe ByteString
- contentType :: Maybe Text
- httpStatus :: Int
- newGetMapGlyphsResponse :: Int -> GetMapGlyphsResponse
- getMapGlyphsResponse_blob :: Lens' GetMapGlyphsResponse (Maybe ByteString)
- getMapGlyphsResponse_contentType :: Lens' GetMapGlyphsResponse (Maybe Text)
- getMapGlyphsResponse_httpStatus :: Lens' GetMapGlyphsResponse Int
Creating a Request
data GetMapGlyphs Source #
See: newGetMapGlyphs
smart constructor.
GetMapGlyphs' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> GetMapGlyphs |
Create a value of GetMapGlyphs
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:fontStack:GetMapGlyphs'
, getMapGlyphs_fontStack
- 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:
- 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:
- VectorHereBerlin –
Fira GO Regular
|Fira GO Bold
$sel:fontUnicodeRange:GetMapGlyphs'
, getMapGlyphs_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
to 00FF
. Must be aligned to multiples of 256.
$sel:mapName:GetMapGlyphs'
, getMapGlyphs_mapName
- The map resource associated with the glyph file.
Request Lenses
getMapGlyphs_fontStack :: Lens' GetMapGlyphs Text Source #
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:
- 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:
- VectorHereBerlin –
Fira GO Regular
|Fira GO Bold
getMapGlyphs_fontUnicodeRange :: Lens' GetMapGlyphs Text Source #
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.
getMapGlyphs_mapName :: Lens' GetMapGlyphs Text Source #
The map resource associated with the glyph file.
Destructuring the Response
data GetMapGlyphsResponse Source #
See: newGetMapGlyphsResponse
smart constructor.
GetMapGlyphsResponse' | |
|
Instances
newGetMapGlyphsResponse Source #
Create a value of GetMapGlyphsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:blob:GetMapGlyphsResponse'
, getMapGlyphsResponse_blob
- The blob's content type.
$sel:contentType:GetMapGlyphsResponse'
, getMapGlyphsResponse_contentType
- The map glyph content type. For example, application/octet-stream
.
$sel:httpStatus:GetMapGlyphsResponse'
, getMapGlyphsResponse_httpStatus
- The response's http status code.
Response Lenses
getMapGlyphsResponse_blob :: Lens' GetMapGlyphsResponse (Maybe ByteString) Source #
The blob's content type.
getMapGlyphsResponse_contentType :: Lens' GetMapGlyphsResponse (Maybe Text) Source #
The map glyph content type. For example, application/octet-stream
.
getMapGlyphsResponse_httpStatus :: Lens' GetMapGlyphsResponse Int Source #
The response's http status code.