            webGlobe.viewer.entities.removeById('moveline');
                if (pointArray.length < 3) {
                    return;
                }
                var cartesian = webGlobe.viewer.getCartesian3Position(e.endPosition, cartesian);
                var cartographic = Cesium.Cartographic.fromCartesian(cartesian);
                var lng = Cesium.Math.toDegrees(cartographic.longitude);
                var lat = Cesium.Math.toDegrees(cartographic.latitude);
                var height = cartogra