mirror of
https://github.com/maputnik/editor.git
synced 2026-08-31 09:27:30 +00:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ade6ce03a0 | |||
| 1a266e8a5c |
@@ -133,7 +133,11 @@ export default class MapMaplibreGl extends React.Component<MapMaplibreGlProps, M
|
||||
container: this.container!,
|
||||
style: this.props.mapStyle,
|
||||
hash: true,
|
||||
maxZoom: 24
|
||||
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
|
||||
}
|
||||
|
||||
const map = new MapLibreGl.Map(mapOpts);
|
||||
|
||||
Reference in New Issue
Block a user