Class GlyphManager
Index
Constructors
Properties
Methods
Constructors
constructor
- new GlyphManager(
requestManager: RequestManager,
localIdeographFontFamily?: string | false,
lang?: string,
): GlyphManagerParameters
- requestManager: RequestManager
OptionallocalIdeographFontFamily: string | falseOptionallang: string
Returns GlyphManager
Properties
entries
Optionallang
lang?: string
localIdeographFontFamily
localIdeographFontFamily: string | false
requestManager
url
url: string
StaticloadGlyphRange
loadGlyphRange: (
fontstack: string,
range: number,
urlTemplate: string,
requestManager: RequestManager,
) => Promise<{ [_: number]: StyleGlyph | null }>
fontstack: string,
range: number,
urlTemplate: string,
requestManager: RequestManager,
) => Promise<{ [_: number]: StyleGlyph | null }>
StaticTinySDF
Methods
destroy
Returns void
getGlyphs
Parameters
- glyphs: { [stack: string]: number[] }
Returns Promise<GetGlyphsResponse>
setURL
Parameters
Optionalurl: string | null
Returns void
Was this helpful?