Skip to content

Commit

Permalink
【release】11.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
songyumeng committed Jun 29, 2022
1 parent d8c65ba commit a9c026c
Show file tree
Hide file tree
Showing 41 changed files with 9,101 additions and 5,984 deletions.
24 changes: 21 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@

## 新特性

### 实现全库按需引入和构建,大幅降低构建应用的包大小,最高至90%左右,提升应用加载性能
### 实现全库按需引入和构建,大幅降低构建应用的包大小,最高至90%左右,提升应用加载性能

### 全面优化所有API的命名空间,更加符合开源库的使用习惯,并且对每个接口增加了使用示例说明;
### 全面优化所有API的命名空间,更加符合开源库的使用习惯,并且对每个接口增加了使用示例说明

### 新增视频增强组件,支持在视频上叠加点位数据,支持点选交互查询,漫游、缩放等交互操作

### 新增动态标绘图管理功能,支持导入、导出标绘图

## API changes

Expand Down Expand Up @@ -92,27 +96,41 @@
new mapboxgl.supermap.ThemeParameters(options);
```

### Component

- 新增视频增强组件(sm-video-plus)及其子组件

## Fixed

### for Leaflet

- 修复 `QueryByDistanceParameters``distance` 参数描述错误的问题

- 修复 `LabelThemeLayer` `GraphThemeLayer` 中调用 `removeFeatures` 失败的问题

- 修复 `EchartsLayer` 在地图移动后再叠加是偏移的问题

### for OpenLayers

- 修复 `ol.source.imageSupermapRest` 出图以整图方式出图

- 修复 `QueryByDistanceParameters``distance` 参数描述错误的问题

- 修复 `ol.source.Graph` `ol.source.Label` 中调用 `removeFeatures` 失败的问题

### for MapboxGL

- 修复 `QueryByDistanceParameters``distance` 参数描述错误的问题

- 修复 `LabelThemeLayer` `GraphThemeLayer` 中调用 `removeFeatures` 失败的问题

### Component

- vue-iclient-mapboxgl

- 修复地图组件(sm-web-map)法显示数据上图中制作的文本标注图层的问题
- 修复地图组件(sm-web-map)无法显示数据上图中制作的文本标注图层的问题

- 修复地图组件(sm-web-map)当底图为WMTS WMS MapBoxStyle时与其他图层叠加顺序不对的问题

- 修复幻灯片组件(sm-slide-show)动态增加页数后无法跳转至最后一页的问题

Expand Down
8 changes: 3 additions & 5 deletions dist/classic/iclient-classic-es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -631,8 +631,6 @@ function allSettled(arr) {
// Store setTimeout reference so promise-polyfill will be unaffected by
// other code modifying setTimeout (like sinon.useFakeTimers())
var setTimeoutFunc = setTimeout;
// @ts-ignore
var setImmediateFunc = typeof setImmediate !== 'undefined' ? setImmediate : null;

function isArray(x) {
return Boolean(x && typeof x.length !== 'undefined');
Expand Down Expand Up @@ -866,10 +864,10 @@ Promise.race = function(arr) {
// Use polyfill for setImmediate for performance gains
Promise._immediateFn =
// @ts-ignore
(typeof setImmediateFunc === 'function' &&
(typeof setImmediate === 'function' &&
function(fn) {
// @ts-ignore
setImmediateFunc(fn);
setImmediate(fn);
}) ||
function(fn) {
setTimeoutFunc(fn, 0);
Expand Down Expand Up @@ -4378,7 +4376,7 @@ class ElasticSearch {
me._update(resp.responses, callback);
return resp;
}, function (err) {
callback(err);
callback && callback(err);
me.events.triggerEvent('error', {error: err});
return err;
});
Expand Down
4 changes: 2 additions & 2 deletions dist/classic/iclient-classic-es6.min.js

Large diffs are not rendered by default.

10 changes: 4 additions & 6 deletions dist/classic/iclient-classic.js
Original file line number Diff line number Diff line change
Expand Up @@ -669,9 +669,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;function _type
// other code modifying setTimeout (like sinon.useFakeTimers())


var setTimeoutFunc = setTimeout; // @ts-ignore

var setImmediateFunc = typeof setImmediate !== 'undefined' ? setImmediate : null;
var setTimeoutFunc = setTimeout;

function isArray(x) {
return Boolean(x && typeof x.length !== 'undefined');
Expand Down Expand Up @@ -913,9 +911,9 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;function _type


Promise._immediateFn = // @ts-ignore
typeof setImmediateFunc === 'function' && function (fn) {
typeof setImmediate === 'function' && function (fn) {
// @ts-ignore
setImmediateFunc(fn);
setImmediate(fn);
} || function (fn) {
setTimeoutFunc(fn, 0);
};
Expand Down Expand Up @@ -4692,7 +4690,7 @@ var ElasticSearch = /*#__PURE__*/function () {

return resp;
}, function (err) {
callback(err);
callback && callback(err);
me.events.triggerEvent('error', {
error: err
});
Expand Down
4 changes: 2 additions & 2 deletions dist/classic/iclient-classic.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit a9c026c

Please sign in to comment.