egovamap 0.33.2 → 0.33.3
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.
|
@@ -1493,7 +1493,7 @@ var EGovaGISMap = function (
|
|
|
1493
1493
|
optimizeParams,
|
|
1494
1494
|
callback
|
|
1495
1495
|
){
|
|
1496
|
-
if (scene
|
|
1496
|
+
if (scene === null) return;
|
|
1497
1497
|
that.callMap(
|
|
1498
1498
|
"showTraceGradientLayer",
|
|
1499
1499
|
traceData,
|
|
@@ -1505,7 +1505,7 @@ var EGovaGISMap = function (
|
|
|
1505
1505
|
that.showGradientLayerPopup = function (
|
|
1506
1506
|
index
|
|
1507
1507
|
){
|
|
1508
|
-
if (scene
|
|
1508
|
+
if (scene === null) return;
|
|
1509
1509
|
that.callMap(
|
|
1510
1510
|
"showGradientLayerPopup",
|
|
1511
1511
|
index)
|
package/egovamap/egovamap.js
CHANGED
|
@@ -2425,8 +2425,8 @@ var EGovaMap = function (
|
|
|
2425
2425
|
optimizeParams,
|
|
2426
2426
|
callback
|
|
2427
2427
|
){
|
|
2428
|
-
if (scene
|
|
2429
|
-
if (gisMap
|
|
2428
|
+
if (scene === null) return;
|
|
2429
|
+
if (gisMap !== null) {
|
|
2430
2430
|
gisMap.showTraceGradientLayer(
|
|
2431
2431
|
traceData,
|
|
2432
2432
|
optimizeParams,
|
|
@@ -2438,8 +2438,8 @@ var EGovaMap = function (
|
|
|
2438
2438
|
that.showGradientLayerPopup = function (
|
|
2439
2439
|
index
|
|
2440
2440
|
){
|
|
2441
|
-
if (scene
|
|
2442
|
-
if (gisMap
|
|
2441
|
+
if (scene === null) return;
|
|
2442
|
+
if (gisMap !== null) {
|
|
2443
2443
|
gisMap.showGradientLayerPopup(
|
|
2444
2444
|
index
|
|
2445
2445
|
);
|