123456789101112131415161718192021222324252627282930313233343536373839404142434445464748<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>Document</title><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></head><style>* {margin: 0;padding: 0;}#container {position: absolute;top: 0;bottom: 0;width: 100%;}</style><body><div id="container"></div><div id="loadingOverlay"><h1>Loading...</h1></div></body><script>bmgl.Config.HTTP_URL = 'http://bigemap.com:9000';var viewer = new bmgl.Viewer('container',{mapId: 'bigemap.zhongkexingtu'});viewer.clock.shouldAnimate = true;//起点经纬度var startLatitude = 35;var startLongitude = -120;var endLongitude;//立即执行var startTime = bmgl.JulianDate.now();// Add a polyline to the scene. Positions are dynamic.var isConstant = false;//添加线段var redLine = viewer.entities.add({polyline: {ההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
源码