egovamap 0.33.32 → 0.33.34

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.
@@ -1589,6 +1589,12 @@ var egovaBI = function (globeMap, gisMap, mapType) {
1589
1589
  globeMap.addDock(options);
1590
1590
  }
1591
1591
  };
1592
+ // webgl十字聚焦特效
1593
+ this.lockOnPoint = function (options) {
1594
+ if (globeMap != null && mapType == 'globe') {
1595
+ globeMap.lockOnPoint(options);
1596
+ }
1597
+ };
1592
1598
  };
1593
1599
 
1594
1600
  export default egovaBI;
@@ -2133,12 +2133,15 @@ var EGovaGlobeMap = function (
2133
2133
  resultPosition.push(position.args[0]);
2134
2134
  clickCallback(resultPosition);
2135
2135
  });
2136
- } else if (clickCallback && typeof clickCallback.clickCallback === 'function') {
2136
+ } else if (
2137
+ clickCallback &&
2138
+ typeof clickCallback.clickCallback === 'function'
2139
+ ) {
2137
2140
  that.bindEvent('pointSelectCallback', function (position) {
2138
2141
  if (!clickCallback.keep) {
2139
2142
  that.removeEventBind('pointSelectCallback');
2140
2143
  }
2141
- });
2144
+ });
2142
2145
  }
2143
2146
  scene.fire(
2144
2147
  msgPrefix + ':pointSelect',
@@ -3730,6 +3733,15 @@ var EGovaGlobeMap = function (
3730
3733
  false
3731
3734
  );
3732
3735
  };
3736
+ that.lockOnPoint = function (options) {
3737
+ if (scene == null) return;
3738
+ scene.fire(
3739
+ msgPrefix + ':lockOnPoint',
3740
+ { args: [options] },
3741
+ parentScene,
3742
+ false
3743
+ );
3744
+ };
3733
3745
  that.init();
3734
3746
  };
3735
3747
 
@@ -58,6 +58,7 @@ var egovamapMEx = function (gisMobileMap) {
58
58
  'getArea',
59
59
  'getLength',
60
60
  'getAllRegionByXY',
61
+ 'pointInPolygon'
61
62
  ];
62
63
  //业务接口
63
64
  var methodBusEx = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "egovamap",
3
- "version": "0.33.32",
3
+ "version": "0.33.34",
4
4
  "description": "eUrbanGIS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {