You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @param {string} [options.localFontFamily=null] Defines a CSS
393
394
* font-family for locally overriding generation of all glyphs. Font settings from the map's style will be ignored, except for font-weight keywords (light/regular/medium/bold).
394
395
* If set, this option overrides the setting in localIdeographFontFamily.
396
+
* @param {'client' | 'server'} [options.fontstackCompositing='client'] Controls how multi-font fontstacks are composited.
397
+
* When `'client'` (the default), each font in a comma-separated fontstack is loaded individually and missing glyphs are filled from subsequent fallback fonts on the client.
398
+
* When `'server'`, the full fontstack string is passed as-is to the glyph server, which must support server-side fontstack composition.
395
399
* @param {RequestTransformFunction} [options.transformRequest=null] A callback run before the Map makes a request for an external URL. The callback can be used to modify the url, set headers, or set the credentials property for cross-origin requests.
396
400
* Expected to return a {@link RequestParameters} object with a `url` property and optionally `headers` and `credentials` properties.
397
401
* @param {boolean} [options.collectResourceTiming=false] If `true`, Resource Timing API information will be collected for requests made by GeoJSON and Vector Tile web workers (this information is normally inaccessible from the main Javascript thread). Information will be returned in a `resourceTiming` property of relevant `data` events.
@@ -498,7 +502,7 @@ export class Map extends Camera {
498
502
_mapId: number;
499
503
_localIdeographFontFamily: string;
500
504
_localFontFamily?: string;
501
-
_useServerFontComposition?: boolean;
505
+
_fontstackCompositing: FontstackCompositing;
502
506
_requestManager: RequestManager;
503
507
_locale: Partial<typeofdefaultLocale>;
504
508
_removed: boolean;
@@ -728,15 +732,15 @@ export class Map extends Camera {
0 commit comments