<!DOCTYPE html>
<html>
<head>
<meta charset='UTF-8'/>
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no'/>
<link rel='stylesheet'/>
<script src='http://ua.bigemap.com:30081/bmsdk/bigemap-gl.js/v1.1.0/bigemap-gl.js'></script>
<style>
body {
margin: 0;
padding: 0;
}
#container {
position: absolute;
top: 0;
bottom: 0;
width: 100%;
}
.bmgl-widget-credits{display:none}
</style>
<title>part_test</title>
</head>
<body>
<div id='container'></div>
<script>
bmgl.Config.HTTP_URL = 'http://ua.bigemap.com:30081/bmsdk/';
var viewer = new bmgl.Viewer('container', {mapId:'bigemap.dc-tian-w-satellite'});
var entity=viewer.entities.add({
position: bmgl.Cartesian3.fromDegrees(104.06678365674989,30.570123284329078),
billboard:{
heightReference:bmgl.HeightReference.CLAMP_TO_GROUND,
image:'/bmgl/data/images/logo.png'
},
label: {
scale:1,
heightReference:bmgl.HeightReference.CLAMP_TO_GROUND,
fillColor:bmgl.Color.BLUE,
text: 'BIGEMAP',
showBackground:true,
backgroundColor:bmgl.Color.AQUA,
pixelOffset: new bmgl.Cartesian2(0, -40)
},
});
viewer.flyTo(viewer.entities);
</script>
</body>
</html>