|
@@ -1307,7 +1307,7 @@ export default {
|
|
|
that.viewer.camera.setView({
|
|
|
destination: new SuperMap3D.Cartesian3.fromDegrees(Number(longitude), Number(latitude), Number(height)),
|
|
|
orientation: {
|
|
|
- heading: SuperMap3D.Math.toRadians(35),
|
|
|
+ heading: SuperMap3D.Math.toRadians(0),
|
|
|
pitch: SuperMap3D.Math.toRadians(-45),
|
|
|
roll: 0
|
|
|
}
|
|
@@ -1409,7 +1409,12 @@ export default {
|
|
|
dropLocation(lat, lng, index,radius) {
|
|
|
this.viewer.scene.globe.depthTestAgainstTerrain = true;
|
|
|
this.viewer.camera.flyTo({
|
|
|
- destination: new SuperMap3D.Cartesian3.fromDegrees(lng, lat, 3000)
|
|
|
+ destination: new SuperMap3D.Cartesian3.fromDegrees(lng, lat, 3000),
|
|
|
+ orientation: {
|
|
|
+ heading: SuperMap3D.Math.toRadians(0),
|
|
|
+ pitch: SuperMap3D.Math.toRadians(-90),
|
|
|
+ roll: 0
|
|
|
+ }
|
|
|
})
|
|
|
if (radius != undefined && radius != null) {
|
|
|
let that = this
|