Browse Source

添加了测量 api

xushiting 4 years ago
parent
commit
c12b474e4b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      IndoorViewerAPI.js

+ 1 - 1
IndoorViewerAPI.js

@@ -152972,7 +152972,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/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/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),