egovamap 0.33.29 → 0.33.30

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.
@@ -255,11 +255,15 @@ var EGovaGISMap = function (
255
255
  callback && callback();
256
256
  };
257
257
  var eMap = window.eMapList[that.id];
258
- $.get(eMap.serverURL + '/home/gis/map/getsysconfig.htm?getConfigMode=onlyGetOtherConfig', {}, function (data) {
259
- eMap.egovagis.sysConfig = $.extend({}, eMap.egovagis.sysConfig, data[0]);
260
- cb(),
261
- 'jsonp';
262
- })
258
+ if (context.gisServerType === 'emapview') {
259
+ $.get(eMap.serverURL + '/home/gis/map/getsysconfig.htm?getConfigMode=onlyGetOtherConfig', {}, function (data) {
260
+ eMap.egovagis.sysConfig = $.extend({}, eMap.egovagis.sysConfig, data[0]);
261
+ cb(),
262
+ 'jsonp';
263
+ })
264
+ } else {
265
+ cb();
266
+ }
263
267
  };
264
268
 
265
269
  that.init = function () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "egovamap",
3
- "version": "0.33.29",
3
+ "version": "0.33.30",
4
4
  "description": "eUrbanGIS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {