egovamap 0.17.10 → 0.17.11

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.
@@ -1387,7 +1387,7 @@ var EGovaGISMap = function ($container, pScene, prefix, gisParams, mapConfig, co
1387
1387
  that.callMap('addBarChart', option);
1388
1388
  }
1389
1389
 
1390
- that.drawGeometry = function (type, style, clear, callback) {
1390
+ that.drawGeometry = function (type, style, clear, callback, options) {
1391
1391
  type = type || "point";
1392
1392
  style = style || {
1393
1393
  "type": "simple-line",
@@ -1401,26 +1401,9 @@ var EGovaGISMap = function ($container, pScene, prefix, gisParams, mapConfig, co
1401
1401
  callback(data);
1402
1402
  }
1403
1403
  };
1404
- that.callMap('drawGeometry', type, style, clear, cb);
1404
+ that.callMap('drawGeometry', type, style, clear, cb, options);
1405
1405
  }
1406
-
1407
- that.drawGeometry = function (type, style, clear, callback) {
1408
- type = type || "point";
1409
- style = style || {
1410
- "type": "simple-line",
1411
- "style": "solid",
1412
- "color": [255, 0, 0, 255],
1413
- "width": 2
1414
- };
1415
-
1416
- var cb = function (type, data) {
1417
- if (callback && type == 'drawGeometryCallback') {
1418
- callback(data);
1419
- }
1420
- };
1421
- that.callMap('drawGeometry', type, style, clear, cb);
1422
- }
1423
-
1406
+
1424
1407
  /* 热力图*/
1425
1408
  that.addHeatMap = function (data, option) {
1426
1409
  that.callMap('addHeatMap', data, option);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "egovamap",
3
- "version": "0.17.10",
3
+ "version": "0.17.11",
4
4
  "description": "eUrbanGIS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {