xushiting 4 年之前
父節點
當前提交
07e2b2abc8
共有 3 個文件被更改,包括 19 次插入4 次删除
  1. 4 2
      IndoorViewerAPI.js
  2. 14 1
      api/tiled_maps
  3. 1 1
      locat/addDataSet.html

+ 4 - 2
IndoorViewerAPI.js

@@ -53003,7 +53003,9 @@ and limitations under the License.
             void 0 === i && (i = !0),
             e[this.JWTTokenService.getJwtUrlParamKey()] = this.JWTTokenService.getJwt();
             var r = this.$httpParamSerializer(e)
-              , o = u.getBaseUrl() + (i ? this.apiEndpoint + t : t);
+              //, o = u.getBaseUrl() + (i ? this.apiEndpoint + t : t);
+              , o = (i ? this.apiEndpoint + t : t);
+            n = o.substring(o.lastIndexOf('/')+1);
             c.clickHiddenURL(o + "?" + r, n)
         }
         ,
@@ -152975,7 +152977,7 @@ and limitations under the License.
 								else if(a.indexOf('/poi/icon')>-1){
 									a = '../../indoor/'+sceneNum+a.substring(a.indexOf('/poi/'));
 								}
-                                else if(a.indexOf('/api/newmeasurements')>-1||a.indexOf('/api/datasets')>-1||a.indexOf('/api/site_model/within_polygon')>-1||a.indexOf('/api/pois')>-1||a.indexOf('/api/poi_types')>-1||a.indexOf('/api/poi_type_groups')>-1||a.indexOf('/api/auth/token')>-1){
+                                else if(a.indexOf('/api/jobs')>-1||a.indexOf('/api/site_model/validate')>-1||a.indexOf('/api/pointcloud/crop')>-1||a.indexOf('/api/newmeasurements')>-1||a.indexOf('/api/datasets')>-1||a.indexOf('/api/site_model/within_polygon')>-1||a.indexOf('/api/pois')>-1||a.indexOf('/api/poi_types')>-1||a.indexOf('/api/poi_type_groups')>-1||a.indexOf('/api/auth/token')>-1){
                                     a = '../../indoor/'+sceneNum+a.substring(a.indexOf('/api/'));
                                 }
                                 y.open(o, a, !0),

+ 14 - 1
api/tiled_maps

@@ -1 +1,14 @@
-[]
+[{
+	"bundle_id": 3,
+	"file_path": "data/building_1/mapTest2",
+	"file_name": "$DEPTH/$X/$Y.png",
+	"floor_id": 11,
+	"id": 5,
+	"map_size_m": 37.10058256252635,
+	"max_depth": 3,
+	"quadtree": "fccf7fffcff3bf7f",
+	"location": [113.5892056859005,22.367124170442096,0.5987030136375425],
+	"orientation": [1,0,0,0],
+	"tile_size_px": 256,
+	"type": "TILED_PYRAMID"
+}]

+ 1 - 1
locat/addDataSet.html

@@ -261,7 +261,7 @@
                     this.pointLayerArray = [];
                     this.gaodeMapLayer = new ol.layer.Tile({
                         source: new ol.source.XYZ({
-                            url: 'http://wprd03.is.autonavi.com/appmaptile?lang=zh_cn&size=1&style=7&x={x}&y={y}&z={z}' //高德地图切片访问路径
+                            url: 'http://wprd03.is.autonavi.com/appmaptile?style=7&x={x}&y={y}&z={z}' //高德地图切片访问路径
                         })
                     });