Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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:
- 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 Open Data (Preview) styles:
- VectorOpenDataStandardLight –
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
The fonts used by VectorOpenDataStandardLight
are combined fonts that
use Amazon Ember
for most glyphs but Noto Sans
for glyphs
unsupported by Amazon Ember
.
$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.
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:
- 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 Open Data (Preview) styles:
- VectorOpenDataStandardLight –
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
The fonts used by VectorOpenDataStandardLight
are combined fonts that
use Amazon Ember
for most glyphs but Noto Sans
for glyphs
unsupported by Amazon Ember
.
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.