Skip to content

Commit 1dffb22

Browse files
committed
【version】11.0.0-beta
1 parent 228a1f9 commit 1dffb22

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+350840
-327724
lines changed

CHANGELOG.md

Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,121 @@
1+
# 11.0.0-beta #
2+
3+
## 新特性
4+
5+
### 实现全库按需引入和构建,大幅降低构建应用的包大小,最高至90%左右,提升应用加载性能;
6+
7+
### 全面优化所有API的命名空间,更加符合开源库的使用习惯,并且对每个接口增加了使用示例说明;
8+
9+
## API changes
10+
11+
### for Leaflet
12+
13+
- 废弃所有以 SuperMap 为命名空间的接口,更改为以 L.supermap 为命名空间。废弃的接口已做兼容。
14+
15+
如:
16+
17+
之前的写法:
18+
19+
```js
20+
new SuperMap.ThemeParameters(options);
21+
```
22+
23+
现在的写法:
24+
25+
```js
26+
new L.supermap.ThemeParameters(options);
27+
```
28+
29+
- 使用类时,废弃原[工厂方法](https://leafletjs.com/SlavaUkraini/reference.html#class),更改为类的实例化。废弃的接口已做兼容。
30+
31+
如:
32+
33+
之前的写法:
34+
35+
```js
36+
L.supermap.tiledMapLayer(url, options);
37+
```
38+
39+
现在的写法:
40+
41+
```js
42+
new L.supermap.TiledMapLayer(url, options);
43+
```
44+
45+
- 废弃 `L.Proj.CRS` 更名为 `L.supermap.Proj.CRS`
46+
47+
- 废弃 `L.CRS.NonEarthCRS ` 更名为 `L.supermap.CRS.NonEarthCRS`
48+
49+
- 废弃 `L.CRS.BaiduCRS` 更名为 `L.supermap.CRS.BaiduCRS`
50+
51+
- 废弃 `L.CRS.TianDiTu_WGS84CRS` 更名为 `L.supermap.CRS.TianDiTu_WGS84CRS`
52+
53+
- 废弃 `L.CRS.TianDiTu_MercatorCRS` 更名为 `L.supermap.CRS.TianDiTu_MercatorCRS`
54+
55+
- 动态标绘图层新增支持最大、最小可见比例尺,用来控制图层中标号按照可见比例尺显示
56+
57+
- 动态标绘图层新增支持缩放基准,用来控制图层中标号缩放
58+
59+
### for OpenLayers
60+
61+
- 废弃所有以 SuperMap 为命名空间的接口,更改为以 ol.supermap 为命名空间。废弃的接口已做兼容。
62+
63+
如:
64+
65+
之前的写法:
66+
67+
```js
68+
new SuperMap.ThemeParameters(options);
69+
```
70+
71+
现在的写法:
72+
73+
```js
74+
new ol.supermap.ThemeParameters(options);
75+
```
76+
77+
### for MapboxGL
78+
79+
- 废弃所有以 SuperMap 为命名空间的接口,更改为以 mapboxgl.supermap 为命名空间。废弃的接口已做兼容。
80+
81+
如:
82+
83+
之前的写法:
84+
85+
```js
86+
new SuperMap.ThemeParameters(options);
87+
```
88+
89+
现在的写法:
90+
91+
```js
92+
new mapboxgl.supermap.ThemeParameters(options);
93+
```
94+
95+
## Fixed
96+
97+
### for Leaflet
98+
99+
- 修复 `QueryByDistanceParameters``distance` 参数描述错误的问题
100+
101+
### for OpenLayers
102+
103+
- 修复 `ol.source.imageSupermapRest` 出图以整图方式出图
104+
105+
- 修复 `QueryByDistanceParameters``distance` 参数描述错误的问题
106+
107+
### for MapboxGL
108+
109+
- 修复 `QueryByDistanceParameters``distance` 参数描述错误的问题
110+
111+
### Component
112+
113+
- vue-iclient-mapboxgl
114+
115+
- 修复地图组件(sm-web-map)法显示数据上图中制作的文本标注图层的问题
116+
117+
- 修复幻灯片组件(sm-slide-show)动态增加页数后无法跳转至最后一页的问题
118+
1119
# 10.2.1 #
2120
## Fixed
3121

0 commit comments

Comments
 (0)