Language Settings
The map language supports custom settings and now supports Chinese and English language settings.
Set when the map is initialized:
nimap.accessToken="your AK"; var nimap = new nimap.Map('container',{ Container: 'map', // map container Zoom: 10, // set the zoom level of the map display Center: [116.397428, 39.90923], // set the map center point coordinates mapStyle: '${mapStyle}', //Set the display style of the map localIdeographFontFamily: "PingFang SC, Microsoft YaHei, Microsoft Yahei, Arial, sans-serif, bold" // Font local read Lang: "en" //Set the map display language });