egovamap 0.18.17 → 0.19.2

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.
@@ -1867,6 +1867,10 @@ var EGovaGISMap = function ($container, pScene, prefix, gisParams, mapConfig, co
1867
1867
  that.callMap('getIntersectFeatures', features, options, callback);
1868
1868
  }
1869
1869
 
1870
+ that.addRadar = function(options){
1871
+ that.callMap('addRadar', options.x, options.y, options.radius, options.symbolUrl);
1872
+ }
1873
+
1870
1874
  that.init();
1871
1875
  }
1872
1876
 
@@ -4338,6 +4338,13 @@ var EGovaMap = function (containerID, callback, mapConfig, mapType, mapParam, co
4338
4338
  gisMap.getIntersectFeatures(features, options, callback);
4339
4339
  }
4340
4340
  }
4341
+
4342
+ that.addRadar = function(options){
4343
+ if (scene == null) { return; }
4344
+ if (gisMap != null) {
4345
+ gisMap.addRadar(options);
4346
+ }
4347
+ }
4341
4348
 
4342
4349
  that.initMap(containerID, callback, mapType, mapConfig);
4343
4350
 
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "egovamap",
3
- "version": "0.18.17",
3
+ "version": "0.19.2",
4
4
  "description": "eUrbanGIS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
7
  "version:minor": "npm version minor -m \"[A]发布 v%s\"",
8
8
  "version:patch": "npm version patch -m \"[A]发布修复版本 v%s\"",
9
9
  "pub": "npm publish --registry https://registry.npmjs.org/",
10
- "postpublish": "",
10
+ "postpublish": "git push && git push --tags",
11
11
  "start": "parcel test/test.html"
12
12
  },
13
13
  "author": "egova",