mirror of
https://github.com/maputnik/editor.git
synced 2026-08-31 09:27:30 +00:00
fix: localideographtyping
This commit is contained in:
@@ -136,9 +136,8 @@ export default class MapMaplibreGl extends React.Component<MapMaplibreGlProps, M
|
|||||||
maxZoom: 24,
|
maxZoom: 24,
|
||||||
// setting to always load glyphs of CJK fonts from server
|
// setting to always load glyphs of CJK fonts from server
|
||||||
// https://maplibre.org/maplibre-gl-js/docs/examples/local-ideographs/
|
// https://maplibre.org/maplibre-gl-js/docs/examples/local-ideographs/
|
||||||
// typedef of MapLibreGl.MapOptions doesn't accept boolean but this follow the doc.
|
localIdeographFontFamily: false
|
||||||
localIdeographFontFamily: false as any
|
} satisfies MapOptions;
|
||||||
}
|
|
||||||
|
|
||||||
const map = new MapLibreGl.Map(mapOpts);
|
const map = new MapLibreGl.Map(mapOpts);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user