egovamap 0.15.22 → 0.15.23
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/egovagis.js +2 -2
- package/egovamap/egovamap.js +1 -1
- package/package.json +1 -1
package/egovamap/egovagis.js
CHANGED
|
@@ -1239,14 +1239,14 @@ var EGovaGISMap = function ($container, pScene, prefix, gisParams, mapConfig,con
|
|
|
1239
1239
|
}
|
|
1240
1240
|
|
|
1241
1241
|
/*对几何图形进行缓冲*/
|
|
1242
|
-
that.getGeometryBuffer=function(geometry,radius,callback){
|
|
1242
|
+
that.getGeometryBuffer=function(geometry,radius,callback,autoTransRadius){
|
|
1243
1243
|
that.removeEventBind("getGeometryBufferCallback");
|
|
1244
1244
|
if (callback != undefined) {
|
|
1245
1245
|
that.bindEvent("getGeometryBufferCallback", function(evt) {
|
|
1246
1246
|
callback(evt.args);
|
|
1247
1247
|
});
|
|
1248
1248
|
}
|
|
1249
|
-
scene.fire((msgPrefix + ":getGeometryBuffer"), {args: [geometry,radius]}, parentScene,true);
|
|
1249
|
+
scene.fire((msgPrefix + ":getGeometryBuffer"), {args: [geometry,radius,autoTransRadius]}, parentScene,true);
|
|
1250
1250
|
}
|
|
1251
1251
|
|
|
1252
1252
|
/* 移除图层*/
|
package/egovamap/egovamap.js
CHANGED
|
@@ -2360,7 +2360,7 @@ var EGovaMap = function (containerID, callback, mapConfig, mapType, mapParam, co
|
|
|
2360
2360
|
}
|
|
2361
2361
|
|
|
2362
2362
|
/*对几何图形进行缓冲*/
|
|
2363
|
-
that.getGeometryBuffer = function (geometry, radius, callback) {
|
|
2363
|
+
that.getGeometryBuffer = function (geometry, radius, callback,autoTransRadius) {
|
|
2364
2364
|
if (scene == null)
|
|
2365
2365
|
return;
|
|
2366
2366
|
if (gisMap != null)
|