<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="leaflet/leaflet.css" />
<link rel="stylesheet" href="supermap_iclient_1010/dist/leaflet/iclient-leaflet.min.css" />
<script type="text/javascript" src="leaflet/leaflet.js"></script>
<script type="text/javascript" src="supermap_iclient_1010/dist/leaflet/iclient-leaflet.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>
</body>
<script type="text/javascript">
var host = window.isLocal ? window.server : "http://localhost:8090";
var map, url = host + "/iserver/services/map-test/rest/maps/guizhou@test5";
map = L.map('map', {
crs: L.CRS.EPSG4326,
center: [106.75 , 27.0],
maxZoom: 18,
zoom: 1
});
L.supermap.tiledMapLayer(url).addTo(map);
</script>
</html>