|
@@ -9,7 +9,7 @@
|
|
} from '@/store/index'
|
|
} from '@/store/index'
|
|
let store = Store();
|
|
let store = Store();
|
|
|
|
|
|
- import fwx from '@/assets/dataFile/fwx.json';
|
|
|
|
|
|
+ // import fwx from '@/assets/dataFile/fwx.json';
|
|
|
|
|
|
let jt3d = undefined;
|
|
let jt3d = undefined;
|
|
export default {
|
|
export default {
|
|
@@ -112,20 +112,20 @@
|
|
// this.clickEntity(jt3d);
|
|
// this.clickEntity(jt3d);
|
|
|
|
|
|
//添加镇街边界线——精灵线
|
|
//添加镇街边界线——精灵线
|
|
- this.addBoundaryLine(jt3d);
|
|
|
|
|
|
+ // this.addBoundaryLine(jt3d);
|
|
|
|
|
|
},
|
|
},
|
|
/**
|
|
/**
|
|
* 添加镇街边界线——精灵线
|
|
* 添加镇街边界线——精灵线
|
|
*/
|
|
*/
|
|
addBoundaryLine(jt3d) {
|
|
addBoundaryLine(jt3d) {
|
|
- jt3d.PolylineObject.drawPolylineByGeoJson(fwx, {
|
|
|
|
- width: 5,
|
|
|
|
- color: '#04FFFF',
|
|
|
|
- isImageAlpha: true, //用图片自带颜色
|
|
|
|
- duration: 3000,
|
|
|
|
- imgUrl: "jt3dSDK/imgs/polylinematerial/spriteline1.png"
|
|
|
|
- });
|
|
|
|
|
|
+ // jt3d.PolylineObject.drawPolylineByGeoJson(fwx, {
|
|
|
|
+ // width: 5,
|
|
|
|
+ // color: '#04FFFF',
|
|
|
|
+ // isImageAlpha: true, //用图片自带颜色
|
|
|
|
+ // duration: 3000,
|
|
|
|
+ // imgUrl: "jt3dSDK/imgs/polylinematerial/spriteline1.png"
|
|
|
|
+ // });
|
|
},
|
|
},
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -260,27 +260,27 @@
|
|
fullMap(jt3d) {
|
|
fullMap(jt3d) {
|
|
// 初始化项目区域范围视角
|
|
// 初始化项目区域范围视角
|
|
let optionsS = {
|
|
let optionsS = {
|
|
- west: 76.043096, //西
|
|
|
|
- south: 39.734728, //南
|
|
|
|
- east: 76.230388, //东
|
|
|
|
- north: 39.659651, //北
|
|
|
|
|
|
+ west: 110.88459807402462,
|
|
|
|
+ south: 15.598579935800508,
|
|
|
|
+ east: 119.0687931142047,
|
|
|
|
+ north: 21.8052784272975,
|
|
isRemove: false, //定位完成后是否删除
|
|
isRemove: false, //定位完成后是否删除
|
|
duration: 3, //飞行时间
|
|
duration: 3, //飞行时间
|
|
heading: 0,
|
|
heading: 0,
|
|
pitch: -90,
|
|
pitch: -90,
|
|
- range: 30000
|
|
|
|
|
|
+ range: 1052000
|
|
};
|
|
};
|
|
-
|
|
|
|
|
|
+
|
|
let optionsE = {
|
|
let optionsE = {
|
|
- west: 76.043096, //西
|
|
|
|
- south: 39.734728, //南
|
|
|
|
- east: 76.230388, //东
|
|
|
|
- north: 39.659651, //北
|
|
|
|
|
|
+ west: 110.88459807402462,
|
|
|
|
+ south: 15.598579935800508,
|
|
|
|
+ east: 119.0687931142047,
|
|
|
|
+ north: 21.8052784272975,
|
|
isRemove: true, //定位完成后是否删除
|
|
isRemove: true, //定位完成后是否删除
|
|
duration: 3, //飞行时间
|
|
duration: 3, //飞行时间
|
|
heading: 0,
|
|
heading: 0,
|
|
pitch: -60,
|
|
pitch: -60,
|
|
- range: 30000
|
|
|
|
|
|
+ range: 1052000
|
|
};
|
|
};
|
|
|
|
|
|
var fullMapPromise = jt3d.fullMap(optionsS);
|
|
var fullMapPromise = jt3d.fullMap(optionsS);
|