egovamap 0.33.14 → 0.33.16
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
CHANGED
|
@@ -106,7 +106,10 @@ var egovaBI = function (globeMap, gisMap, mapType) {
|
|
|
106
106
|
let clear = options.common.clear;
|
|
107
107
|
let highLightType = -1;
|
|
108
108
|
let infoStyle = null;
|
|
109
|
-
let renderCanvas =
|
|
109
|
+
let renderCanvas = null;
|
|
110
|
+
if(options.option && options.option.renderCanvas !== undefined){
|
|
111
|
+
renderCanvas = options.option.renderCanvas;
|
|
112
|
+
}
|
|
110
113
|
let tagName = layerName;
|
|
111
114
|
let clusterOption = null;
|
|
112
115
|
|
|
@@ -413,7 +413,7 @@ var EGovaGISMap = function (
|
|
|
413
413
|
gisConfig = mapConfig.gisConfig ? mapConfig.gisConfig : null,
|
|
414
414
|
useMask = false,
|
|
415
415
|
humanID = context.humanID;
|
|
416
|
-
var params = {
|
|
416
|
+
var params = Object.assign({
|
|
417
417
|
contain: that.id,
|
|
418
418
|
serverURL: context.gisServerURL,
|
|
419
419
|
misURL: context.rootPath,
|
|
@@ -424,7 +424,8 @@ var EGovaGISMap = function (
|
|
|
424
424
|
humanID: humanID,
|
|
425
425
|
dragExtentLimit: context.dragExtentLimit,
|
|
426
426
|
style: "",
|
|
427
|
-
};
|
|
427
|
+
}, context.options || {});
|
|
428
|
+
|
|
428
429
|
if (mapConfig && mapConfig.params) {
|
|
429
430
|
params.controls = mapConfig.params;
|
|
430
431
|
}
|