|
@@ -9,7 +9,7 @@
|
|
|
} from '@/store/index'
|
|
|
let store = Store();
|
|
|
|
|
|
- import xz from '@/assets/dataFile/xz.json';
|
|
|
+ import map_xzqh_zj from '@/assets/dataFile/map_xzqh_zj.json';
|
|
|
|
|
|
let jt3d = undefined;
|
|
|
export default {
|
|
@@ -119,7 +119,7 @@
|
|
|
* 添加镇街边界线——精灵线
|
|
|
*/
|
|
|
addBoundaryLine(jt3d) {
|
|
|
- jt3d.PolylineObject.drawPolylineByGeoJson(xz, {
|
|
|
+ jt3d.PolylineObject.drawPolylineByGeoJson(map_xzqh_zj, {
|
|
|
width: 5,
|
|
|
color: '#04FFFF',
|
|
|
isImageAlpha: true, //用图片自带颜色
|
|
@@ -260,27 +260,27 @@
|
|
|
fullMap(jt3d) {
|
|
|
// 初始化项目区域范围视角
|
|
|
let optionsS = {
|
|
|
- west: 116.883783, //西
|
|
|
- south: 36.573500, //南
|
|
|
- east: 117.326923, //东
|
|
|
- north: 36.329733, //北
|
|
|
+ west: 121.563298,
|
|
|
+ south: 37.284514,
|
|
|
+ east: 121.565298,
|
|
|
+ north: 37.286514,
|
|
|
isRemove: false, //定位完成后是否删除
|
|
|
duration: 3, //飞行时间
|
|
|
heading: 0,
|
|
|
pitch: -90,
|
|
|
- range: 60000
|
|
|
+ range: 115000
|
|
|
};
|
|
|
|
|
|
let optionsE = {
|
|
|
- west: 116.883783, //西
|
|
|
- south: 36.573500, //南
|
|
|
- east: 117.326923, //东
|
|
|
- north: 36.329733, //北
|
|
|
+ west: 121.563298,
|
|
|
+ south: 37.284514,
|
|
|
+ east: 121.565298,
|
|
|
+ north: 37.286514,
|
|
|
isRemove: true, //定位完成后是否删除
|
|
|
duration: 3, //飞行时间
|
|
|
heading: 0,
|
|
|
pitch: -60,
|
|
|
- range: 60000
|
|
|
+ range: 115000
|
|
|
};
|
|
|
|
|
|
var fullMapPromise = jt3d.fullMap(optionsS);
|