<!DOCTYPE HTML>
<html>
<head>
<title>SuperMap iClient for JavaScript:TiledDynamicRESTLayer</title>
<!--引用需要的脚本-->
<script src="./libs/SuperMap.Include.js"></script>
<script type="text/javascript">
//声明变量map、layer、url
var map, layer,
url = "http://localhost:8090/iserver/services/map-world/wms130/World Map";
//创建地图控件
function init(){
//初始化地图
map = new SuperMap.Map("map");
//初始化图层
layer = new SuperMap.Layer.WMS("World Map",url,{layers: "0.12,0.8"});
map.addLayer(layer);
//显示地图范围
map.setCenter(new SuperMap.LonLat(0,0), 2);
}
//map.setCenter(new SuperMap.LonLat(11917046.5693627, 3212252.89112922), 12);
</script>
</head>
<body onload="init()">
<!--地图显示的div-->
<div id="map" style="position:absolute;left:0px;right:0px;width:800px;height:500px;" >
</div>
</body>
</html>
地图显示不出来,iserver已开,请问是哪里出了问题