egovamap 0.28.2 → 0.28.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.
@@ -1419,7 +1419,15 @@ var EGovaGISMap = function ($container, pScene, prefix, gisParams, mapConfig,con
1419
1419
  that.agsToWKT = function (geometry, callback) {
1420
1420
  scene.fire((msgPrefix + ":agsToWKT"), {args: [geometry, callback]}, parentScene);
1421
1421
  }
1422
+ /*网格化方式绘制管线*/
1423
+ that.showCustomGrid = function(jsonInfo) {
1424
+ scene.fire((msgPrefix + ":showCustomGrid"), {args: [jsonInfo]}, parentScene);
1425
+ }
1422
1426
 
1427
+ /*网格化方式清除管线*/
1428
+ that.clearCustomGrid = function () {
1429
+ scene.fire((msgPrefix + ":clearCustomGrid"), {args: []}, parentScene);
1430
+ }
1423
1431
  that.init();
1424
1432
  }
1425
1433
  export default EGovaGISMap;
@@ -4424,6 +4424,21 @@ var EGovaMap = function (containerID, callback, mapConfig, mapType, mapParam, co
4424
4424
  }
4425
4425
  }
4426
4426
 
4427
+ // 网格化方式绘制管线接口
4428
+ that.showCustomGrid = function(jsonInfo) {
4429
+ if (scene == null) { return; }
4430
+ if (gisMap != null) {
4431
+ gisMap.showCustomGrid(jsonInfo);
4432
+ }
4433
+ }
4434
+
4435
+ // 网格化方式清除管线接口
4436
+ that.clearCustomGrid = function() {
4437
+ if (scene == null) { return; }
4438
+ if (gisMap != null) {
4439
+ gisMap.clearCustomGrid();
4440
+ }
4441
+ }
4427
4442
  that.initMap(containerID, callback, mapType, mapConfig);
4428
4443
 
4429
4444
  // EGovaBI(globeMap).bind(this)();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "egovamap",
3
- "version": "0.28.2",
3
+ "version": "0.28.3",
4
4
  "description": "eUrbanGIS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {