egovamap 0.17.1 → 0.17.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.
- package/egovamap/egovagis.js +2 -2
- package/egovamap/egovamap.js +4 -2
- package/package.json +1 -1
package/egovamap/egovagis.js
CHANGED
|
@@ -756,8 +756,8 @@ var EGovaGISMap = function ($container, pScene, prefix, gisParams, mapConfig,con
|
|
|
756
756
|
/**
|
|
757
757
|
*等值面生成
|
|
758
758
|
**/
|
|
759
|
-
that.isobands = function(attrarry,xarry,yarry,breaks,breakcolors,cellwidth,boundary,hascelllabel,labelcolor,callback){
|
|
760
|
-
scene.fire(msgPrefix + ":isobands", { args: [attrarry,xarry,yarry,breaks,breakcolors,cellwidth,boundary,hascelllabel,labelcolor,callback] },
|
|
759
|
+
that.isobands = function(attrarry,xarry,yarry,breaks,breakcolors,cellwidth,boundary,hascelllabel,labelcolor,callback, options){
|
|
760
|
+
scene.fire(msgPrefix + ":isobands", { args: [attrarry,xarry,yarry,breaks,breakcolors,cellwidth,boundary,hascelllabel,labelcolor,callback, options] },
|
|
761
761
|
parentScene);
|
|
762
762
|
}
|
|
763
763
|
|
package/egovamap/egovamap.js
CHANGED
|
@@ -3442,11 +3442,13 @@ var EGovaMap = function (containerID, callback, mapConfig, mapType, mapParam, co
|
|
|
3442
3442
|
* @param {Object} boundary 边界要素
|
|
3443
3443
|
* @param {Number} hascelllabel 是否获取插值数值
|
|
3444
3444
|
* @param {Number} labelcolor 插值颜色
|
|
3445
|
+
* @param {Function} callback 回调函数
|
|
3446
|
+
* @param {Object} options 设置插值方法,如{model:"IDW",b:2},表示使用反距离权重插值,b表示距离的幂
|
|
3445
3447
|
*/
|
|
3446
|
-
that.isobands = function(attrarry,xarry,yarry,breaks,breakcolors,cellwidth,boundary,hascelllabel,labelcolor,callback){
|
|
3448
|
+
that.isobands = function(attrarry,xarry,yarry,breaks,breakcolors,cellwidth,boundary,hascelllabel,labelcolor,callback,options){
|
|
3447
3449
|
if (scene == null) { return; }
|
|
3448
3450
|
if (gisMap != null) {
|
|
3449
|
-
gisMap.isobands(attrarry,xarry,yarry,breaks,breakcolors,cellwidth,boundary,hascelllabel,labelcolor,callback);
|
|
3451
|
+
gisMap.isobands(attrarry,xarry,yarry,breaks,breakcolors,cellwidth,boundary,hascelllabel,labelcolor,callback,options);
|
|
3450
3452
|
}
|
|
3451
3453
|
}
|
|
3452
3454
|
|