egovamap 0.15.16 → 0.15.17

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.
@@ -142,6 +142,9 @@ var EGovaGISMap = function ($container, pScene, prefix, gisParams, mapConfig,con
142
142
  }
143
143
  }
144
144
  that.$gisMapFrame.src = url;
145
+ that.$gisMapFrame.onload = function(){
146
+ that.$gisMapFrame.contentWindow.postMessage(gisServerURL, "*");
147
+ }
145
148
  });
146
149
  try {
147
150
  //如果启用了实景功能需要注册实景监听
@@ -130,6 +130,9 @@ var EGovaGlobeMap = function ($container, pScene, prefix, mapConfig, context, ca
130
130
  }
131
131
  }
132
132
  that.$globeMapFrame.src = globeMapUrl;
133
+ that.$globeMapFrame.onload = function(){
134
+ that.$globeMapFrame.contentWindow.postMessage(globeConfig.globeServerURL, "*");
135
+ }
133
136
  }
134
137
  }
135
138
  //callback && callback();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "egovamap",
3
- "version": "0.15.16",
3
+ "version": "0.15.17",
4
4
  "description": "eUrbanGIS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {