var China = L.supermap.tiledMapLayer(systemConfig.dituIP, { noWrap: true });
var ChinaDark = L.supermap.tiledMapLayer('https://iserver.supermap.io/iserver/services/map-china400/rest/maps/ChinaDark', { noWrap: true });
var map, url = systemConfig.dituIP;
map = L.map('map', {
crs: L.CRS.EPSG4326,
center: [40, 116],
maxZoom: 18,
zoom: 4,
zoomControl: false,
layers: [China]
});
var baseMaps = {
"China": China,
"ChinaDark": ChinaDark
};
L.control.layers(baseMaps).addTo(map);
我是这么写的代码,打开代码检查器是有元素的,但是就是显示不出来