egovamap 0.33.6 → 0.33.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/egovamap/egovaBI.js +9 -0
- package/package.json +1 -1
package/egovamap/egovaBI.js
CHANGED
|
@@ -145,6 +145,12 @@ var egovaBI = function (globeMap, gisMap, mapType) {
|
|
|
145
145
|
p.hSymbolUrl = options.selectStyle.imgUrl;
|
|
146
146
|
}
|
|
147
147
|
}
|
|
148
|
+
// 杭州现场,需要叠加图片和地图放大同时存在
|
|
149
|
+
if(options.developer){
|
|
150
|
+
if(options.developer.enableScaleAndOverImage && options.developer.scaleAndOverImageFactor){
|
|
151
|
+
p.aScale = options.developer.scaleAndOverImageFactor
|
|
152
|
+
}
|
|
153
|
+
}
|
|
148
154
|
//classify symbol
|
|
149
155
|
if (options.textStyle.enableClassify) {
|
|
150
156
|
const customScheme = options.textStyle.customScheme;
|
|
@@ -407,8 +413,11 @@ var egovaBI = function (globeMap, gisMap, mapType) {
|
|
|
407
413
|
}
|
|
408
414
|
});
|
|
409
415
|
};
|
|
416
|
+
var filterString = "1=1";
|
|
417
|
+
if( options.filterString ) filterString = options.filterString + "";
|
|
410
418
|
let queryParams = {
|
|
411
419
|
layerID: options.usageID || options.phyLayerID,
|
|
420
|
+
where: filterString,
|
|
412
421
|
outGeometry: true,
|
|
413
422
|
};
|
|
414
423
|
queryFeature(queryParams).then(function (resultData) {
|