瀏覽代碼

广告牌

DESKTOP-CRQ4N2U\jintian 2 年之前
父節點
當前提交
3bb85badd5
共有 3 個文件被更改,包括 5 次插入2 次删除
  1. 0 0
      public/jt3dSDK/jt3d.es.js
  2. 1 1
      src/views/Main/components/layer.vue
  3. 4 1
      src/views/Main/components/map.vue

文件差異過大導致無法顯示
+ 0 - 0
public/jt3dSDK/jt3d.es.js


+ 1 - 1
src/views/Main/components/layer.vue

@@ -331,7 +331,7 @@
 								}
 
 
-								jt3d.layer.addBillboardByGeoJson(_options, function(serviceId) {
+								jt3d.layer.addBillboardByJson(_options, function(serviceId) {
 
 								});
 

+ 4 - 1
src/views/Main/components/map.vue

@@ -239,7 +239,10 @@
 					isRetainDrawPoint: true, //绘制完成是否保留绘制点
 					iconType: 'blue',
 				});
-				jt3d.DrawMilitaryPlot = new this.jt3dSDK.DrawMilitaryPlot(jt3d._viewer);
+				jt3d.DrawMilitaryPlot = new this.jt3dSDK.DrawMilitaryPlot({
+					viewer: jt3d._viewer,
+					Cesium: Cesium,
+				});
 
 				jt3d.LocateUtil = new this.jt3dSDK.LocateUtil(jt3d._viewer);
 

部分文件因文件數量過多而無法顯示