egovamap 0.33.15 → 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.
|
@@ -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
|
}
|