egovamap 0.15.11 → 0.15.14
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/egovaBI.js
CHANGED
|
@@ -136,8 +136,8 @@ var egovaBI = function(globeMap, gisMap, mapType){
|
|
|
136
136
|
type: "text",
|
|
137
137
|
color: options.clusterStyle.fillColor,
|
|
138
138
|
text: "",
|
|
139
|
-
xoffset: options.clusterStyle.
|
|
140
|
-
yoffset: options.clusterStyle.
|
|
139
|
+
xoffset: options.clusterStyle.xoffset + "px",
|
|
140
|
+
yoffset: options.clusterStyle.yoffset + "px",
|
|
141
141
|
font: {
|
|
142
142
|
size: options.clusterStyle.fontSize + "px",
|
|
143
143
|
weight: options.clusterStyle.fontWeight || "normal",
|
package/egovamap/egovagis.js
CHANGED
|
@@ -516,9 +516,9 @@ var EGovaGISMap = function ($container, pScene, prefix, gisParams, mapConfig,con
|
|
|
516
516
|
// 移除监听
|
|
517
517
|
var clickBackName = "showMultiObjectCurrentPositionClick";
|
|
518
518
|
var mouseOverBackName = "showMultiObjectCurrentPositionMouseover";
|
|
519
|
-
if(
|
|
520
|
-
clickBackName +=
|
|
521
|
-
mouseOverBackName +=
|
|
519
|
+
if(options&&options.callbacksuffix){
|
|
520
|
+
clickBackName += options.callbacksuffix;
|
|
521
|
+
mouseOverBackName += options.callbacksuffix;
|
|
522
522
|
}
|
|
523
523
|
that.removeEventBind(clickBackName);
|
|
524
524
|
that.removeEventBind(mouseOverBackName);
|
|
@@ -1180,7 +1180,7 @@ var EGovaGISMap = function ($container, pScene, prefix, gisParams, mapConfig,con
|
|
|
1180
1180
|
|
|
1181
1181
|
/* 获取图层信息 */
|
|
1182
1182
|
that.getPhyLayerInfo=function (phyLayerID,getPhyLayerInfoCallBack) {
|
|
1183
|
-
that.removeEventBind("
|
|
1183
|
+
that.removeEventBind("getPhyLayerInfoCallback");
|
|
1184
1184
|
if (getPhyLayerInfoCallBack != undefined) {
|
|
1185
1185
|
that.bindEvent("getPhyLayerInfoCallback", function(evt) {
|
|
1186
1186
|
getPhyLayerInfoCallBack(evt.args);
|
|
@@ -1654,7 +1654,7 @@ var EGovaGISMap = function ($container, pScene, prefix, gisParams, mapConfig, co
|
|
|
1654
1654
|
/* 获取图层信息 */
|
|
1655
1655
|
that.getPhyLayerInfo = function (phyLayerID, callback) {
|
|
1656
1656
|
var cb = function (type, data) {
|
|
1657
|
-
if (callback && type == '
|
|
1657
|
+
if (callback && type == 'getPhyLayerInfoCallback') {
|
|
1658
1658
|
callback(data);
|
|
1659
1659
|
}
|
|
1660
1660
|
};
|