123456789101112131415161718192021222324252627282930313233343536373839404142434445464748<!DOCTYPE html><html><head><meta charset='UTF-8'/><meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no'/><link href='http://bigemap.com:9000/bigemap-gl.js/v1.1.0/Widgets/widgets.css' rel='stylesheet'/><script src='http://bigemap.com:9000/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://bigemap.com:9000';var viewer = new bmgl.Viewer('container', {mapId: 'bigemap.zhongkexingtu',requestRenderMode:false,});var lat = 30.598026044;var lon = 114.302312702;viewer.scene.globe.depthTestAgainstTerrain = true;//取消双击事件viewer.BMWidget.screenSpaceEventHandler.removeInputAction(bmgl.ScreenSpaceEventType.LEFT_DOUBLE_CLICK);//设置homebutton的位置bmgl.Camera.DEFAULT_VIEW_RECTANGLE =bmgl.Rectangle.fromDegrees(lon - 1, lat - 1, lon + 1, lat + 1);//设置初始位置viewer.camera.setView({destination: bmgl.Cartesian3.fromDegrees(lon, lat, 300000)});/*流纹纹理线color 颜色ההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
源码