DESKTOP-CRQ4N2U\jintian hace 2 años
padre
commit
6966ca70e9
Se han modificado 1 ficheros con 12 adiciones y 12 borrados
  1. 12 12
      src/views/Map3d/components/map.vue

+ 12 - 12
src/views/Map3d/components/map.vue

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