fix: localideographtyping

This commit is contained in:
Kanahiro
2024-03-27 08:05:17 +09:00
parent c096b51957
commit f87a2ae707
+2 -3
View File
@@ -136,9 +136,8 @@ export default class MapMaplibreGl extends React.Component<MapMaplibreGlProps, M
maxZoom: 24,
// setting to always load glyphs of CJK fonts from server
// 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 as any
}
localIdeographFontFamily: false
} satisfies MapOptions;
const map = new MapLibreGl.Map(mapOpts);