|
@@ -52888,6 +52888,7 @@ and limitations under the License.
|
|
|
|
|
|
let matchingUrls = [
|
|
|
'api/images',
|
|
|
+ 'api/tiled_maps',
|
|
|
'api/site_model',
|
|
|
'api/site_model/within',
|
|
|
'api/site_model/within_polygon',
|
|
@@ -152994,7 +152995,7 @@ and limitations under the License.
|
|
|
else if(a.indexOf('/poi/icon')>-1||a.indexOf('/poi/image')>-1){
|
|
|
a = '../../indoor/'+sceneNum+a.substring(a.indexOf('/poi/'));
|
|
|
}
|
|
|
- else if(a.indexOf('/api/site_model')>-1||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){
|
|
|
+ else if(a.indexOf('/api/tiled_maps')>-1||a.indexOf('/api/site_model')>-1||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),
|
|
@@ -191436,35 +191437,35 @@ and limitations under the License.
|
|
|
}
|
|
|
,
|
|
|
t.prototype.updateSubTiles = function(e, n, r, o, a, s, c) {
|
|
|
- for (var l = !0, u = [-.25 * o, .25 * o, -.25 * o, .25 * o], d = [.25 * o, .25 * o, -.25 * o, -.25 * o], p = 0; p < 4; ++p) {
|
|
|
- var h = c + p.toString(10); //一级(512):0 1 2 3分别为左上、右上、左下、右下。二级(1024)就是把一级的每一块分裂,如00 01 02 03分别是0的左上、右上、左下、右下……
|
|
|
- //if (!e.tilePresenceMap || e.tilePresenceMap[h]) { //去掉判断,直接显示
|
|
|
- var f = a + u[p]
|
|
|
- , m = s + d[p];
|
|
|
- i.sharedData.tempVector.set(f, m, 0);
|
|
|
- if(e.isTileVisible(i.sharedData.tempVector, .5 * o, n)){
|
|
|
- //if(log ){
|
|
|
- // console.log('isTileVisible '+h)
|
|
|
- //}
|
|
|
-
|
|
|
- this.children[p] || (this.children[p] = new t(this.mapLayer,this.objectGroup,this.tileColor))
|
|
|
- l = this.children[p].update(e, n, r - 1, .5 * o, f, m, h) && l
|
|
|
- }else{
|
|
|
- if(this.children[p]){
|
|
|
- this.children[p].remove()
|
|
|
- delete this.children[p]
|
|
|
- }
|
|
|
-
|
|
|
- }
|
|
|
- /* e.isTileVisible(i.sharedData.tempVector, .5 * o, n) ? (this.children[p] || (this.children[p] = new t(this.mapLayer,this.objectGroup,this.tileColor)),
|
|
|
- l = this.children[p].update(e, n, r - 1, .5 * o, f, m, h) && l) : this.children[p] && (this.children[p].remove(),
|
|
|
- delete this.children[p]) */
|
|
|
- //}
|
|
|
- }
|
|
|
- return l && this.removeObject3D(),
|
|
|
- l
|
|
|
-
|
|
|
- }
|
|
|
+ for (var l = !0, u = [-.25 * o, .25 * o, -.25 * o, .25 * o], d = [.25 * o, .25 * o, -.25 * o, -.25 * o], p = 0; p < 4; ++p) {
|
|
|
+ var h = c + p.toString(10); //一级(512):0 1 2 3分别为左上、右上、左下、右下。二级(1024)就是把一级的每一块分裂,如00 01 02 03分别是0的左上、右上、左下、右下……
|
|
|
+ if (!e.tilePresenceMap || e.tilePresenceMap[h]) { //去掉判断,直接显示
|
|
|
+ var f = a + u[p]
|
|
|
+ , m = s + d[p];
|
|
|
+ i.sharedData.tempVector.set(f, m, 0);
|
|
|
+ if(e.isTileVisible(i.sharedData.tempVector, .5 * o, n)){
|
|
|
+ //if(log ){
|
|
|
+ // console.log('isTileVisible '+h)
|
|
|
+ //}
|
|
|
+
|
|
|
+ this.children[p] || (this.children[p] = new t(this.mapLayer,this.objectGroup,this.tileColor))
|
|
|
+ l = this.children[p].update(e, n, r - 1, .5 * o, f, m, h) && l
|
|
|
+ }else{
|
|
|
+ if(this.children[p]){
|
|
|
+ this.children[p].remove()
|
|
|
+ delete this.children[p]
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+ /* e.isTileVisible(i.sharedData.tempVector, .5 * o, n) ? (this.children[p] || (this.children[p] = new t(this.mapLayer,this.objectGroup,this.tileColor)),
|
|
|
+ l = this.children[p].update(e, n, r - 1, .5 * o, f, m, h) && l) : this.children[p] && (this.children[p].remove(),
|
|
|
+ delete this.children[p]) */
|
|
|
+ }
|
|
|
+ }
|
|
|
+ return l && this.removeObject3D(),
|
|
|
+ l
|
|
|
+
|
|
|
+ }
|
|
|
,
|
|
|
t.prototype.createTileObject = function(t, e, n, a) {
|
|
|
var s = this;
|