egovamap 0.32.6 → 0.32.7
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 +4 -1
- package/package.json +1 -1
package/egovamap/egovaBI.js
CHANGED
|
@@ -1400,7 +1400,7 @@ var egovaBI = function (globeMap, gisMap, mapType) {
|
|
|
1400
1400
|
}
|
|
1401
1401
|
globeMap.clearNetworkCloud(layerNames);
|
|
1402
1402
|
};
|
|
1403
|
-
this.lineOperation = function (options, data) {
|
|
1403
|
+
this.lineOperation = function (options, data, dataLoadCb) {
|
|
1404
1404
|
if (!options || !options.layerName) {
|
|
1405
1405
|
console.log("图层名必须传递");
|
|
1406
1406
|
return;
|
|
@@ -1476,6 +1476,9 @@ var egovaBI = function (globeMap, gisMap, mapType) {
|
|
|
1476
1476
|
options: { originalData: originalData },
|
|
1477
1477
|
};
|
|
1478
1478
|
queryFeature(queryParams).then(function (resultData) {
|
|
1479
|
+
if (dataLoadCb && typeof dataLoadCb === 'function') {
|
|
1480
|
+
dataLoadCb(resultData);
|
|
1481
|
+
}
|
|
1479
1482
|
if (!resultData) {
|
|
1480
1483
|
console.log("没有查询到数据,请检查查询参数");
|
|
1481
1484
|
return;
|