|
<!DOCTYPE html>
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
<meta name="viewport"
|
content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no" />
|
<title></title>
|
|
<style>
|
body,
|
html {
|
height: 100%;
|
}
|
|
.cesium-viewer-animationContainer {
|
display: none;
|
}
|
|
#cesiumContainer {
|
width: 100%;
|
height: 100%;
|
background-color: #000000;
|
background-size: cover;
|
}
|
</style>
|
<script type="text/javascript" src="http://18.1.1.231/ICSDK/ICSDK/dist/ThirdParty/jquery-2.0.3.js"></script>
|
<script type="text/javascript" src="http://18.1.1.231/ICSDK/ICSDK/dist/ICSDK.js"></script>
|
</head>
|
|
<body style="margin: 0;overflow: hidden">
|
<div id="cesiumContainer">
|
</div>
|
<div id="toolbar">
|
</div>
|
<script>
|
$(function () {
|
var option={
|
url: "http://18.1.1.231/ICSDK/ICSDK/dist/ThirdParty/SmartEarth/Workers/image/earth.jpg"
|
};
|
ICSDK.Map3.init("cesiumContainer", {});
|
//添加AicGis在线影像地图
|
var dx = {
|
url: "http://71.3.251.104:8066/arcgis/rest/services/10011/MapServer",
|
enablePickFeatures: false
|
};
|
ICSDK.Map3.Creator.createArcGisImageryLayer("ARCGIS", dx, "0", 1, true, "");
|
|
})
|
function add(layer){
|
var dx = {
|
url: layer,
|
enablePickFeatures: false
|
};
|
ICSDK.Map3.Creator.createArcGisImageryLayer("ARCGIS", dx, "0", 1, true, "");
|
}
|
|
|
function hide(id){
|
ICSDK.Map3.Project._sgworld.ProjectTree.setVisibility(id,false);
|
}
|
function show(id){
|
ICSDK.Map3.Project._sgworld.ProjectTree.setVisibility(id,true);
|
}
|
</script>
|
</body>
|
|
</html>
|
|