可以打开官网例程,无法打开部署在服务器上的地图
服务器上的地图数据页面如下:
描述:
        包含当前地图的所有相关状态信息,如中心点、比例尺、全幅范围等。
	
		
			| 中心点: | ( 479878.74 , 521979.53 ) | 
		
			| 比例尺: | 0.000060773295 | 
		
			| 全幅范围: | 
				左下: ( 477072.68 , 520462.2 )右上: ( 482684.8 , 523496.86 ) | 
		
			| 大小: |  | 
		
			| 坐标系信息: | Planar Coordinate System---m | 
	
	
		
			| 
 描述:
 prjCoordSys 资源表示地图的坐标信息。
 
 坐标信息:
 
				
					
						| type: | PCS_NON_EARTH |  
						| name: | Planar Coordinate System---m |  | 
	
开发包用的supermap-iclient-1020
<head>
    <meta charset="UTF-8">
    <title data-i18n="resources.title_tiledMapLayer4326"></title>
    <script type="text/javascript" src="../js/include-web.js"></script>
</head>
<body style=" margin: 0;overflow: hidden;background: #fff;width: 100%;height:100%;position: absolute;top: 0;">
<div id="map" style="margin:0 auto;width: 100%;height: 100%"></div>
<script type="text/javascript" src="../../dist/leaflet/include-leaflet.js"></script>
<script type="text/javascript">
    var host = window.isLocal ? window.server : "http://172.16.18.120:8090";//"https://iserver.supermap.io";
    var map, url = host + "/iserver/services/map-DCJ_JK_BASE_new/rest/maps/DCJ_JK_BASE";
    map = L.map('map', {
        crs: L.CRS.EPSG4326,
        center: [0, 0],
        maxZoom: 18,
        zoom: 1
    });
    L.supermap.tiledMapLayer(url).addTo(map);
</script>