Skip to content

Commit 69703f8

Browse files
committed
fix dataset SurfaceAnalysis失败的问题 修改相关测试 例子更名
1 parent 7873a46 commit 69703f8

File tree

12 files changed

+795
-783
lines changed

12 files changed

+795
-783
lines changed

dist/iclient9-leaflet.js

Lines changed: 265 additions & 262 deletions
Large diffs are not rendered by default.

dist/iclient9-leaflet.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/iclient9-mapboxgl.js

Lines changed: 256 additions & 253 deletions
Large diffs are not rendered by default.

dist/iclient9-mapboxgl.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/iclient9-openlayers.js

Lines changed: 256 additions & 253 deletions
Large diffs are not rendered by default.

dist/iclient9-openlayers.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/locales/en-US/resources.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1103,7 +1103,6 @@ window.resources = {
11031103
"text_esmode_history": "historical display",
11041104
"text_esmode": "display mode",
11051105

1106-
"btn_grid": "栅格图",
11071106
"btn_overlayAnalyst": "Start analysis",
11081107
"btn_terrainCurvatureCalculation": "Start calculation",
11091108
"btn_mathExpression": "Start calculation",

examples/mapboxgl/config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -355,10 +355,10 @@ var exampleConfig = {
355355
fileName: "mvtVectorTile_changeStyle"
356356
},
357357
{
358-
name: "UGCV5(MVT)",
359-
name_en: "UGCV5(MVT)",
358+
name: "预缓存(MVT)",
359+
name_en: "precache(MVT)",
360360
thumbnail: "mvt_UGCV5.png",
361-
fileName: "mvtVectorTile_UGCV5"
361+
fileName: "mvtVectorTile_precache"
362362
}
363363
]
364364
},

src/common/iServer/SurfaceAnalystParametersSetting.js

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ import {
1010
import {
1111
ServerGeometry
1212
} from './ServerGeometry';
13+
import {
14+
Geometry
15+
} from '../commontypes/Geometry';
1316

1417
/**
1518
* @class SuperMap.SurfaceAnalystParametersSetting
@@ -123,10 +126,11 @@ export class SurfaceAnalystParametersSetting {
123126
json += "," + "'expectedZValues':" + Util.toJSON(this.expectedZValues);
124127
}
125128
if (this.clipRegion != null) {
126-
var serverGeometry = ServerGeometry.fromGeometry(this.clipRegion);
127-
if (serverGeometry) {
128-
json += ",'clipRegion':" + Util.toJSON(serverGeometry);
129+
var serverGeometry = this.clipRegion;
130+
if (this.clipRegion instanceof Geometry && this.clipRegion.components) {
131+
serverGeometry = ServerGeometry.fromGeometry(this.clipRegion)
129132
}
133+
json += ",'clipRegion':" + Util.toJSON(serverGeometry);
130134
}
131135
return "{" + json + "}";
132136
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy