Skip to content

Commit 2ada84b

Browse files
authored
Merge pull request #1 from SuperMap/master
官方更新1
2 parents 84d1648 + b767643 commit 2ada84b

File tree

810 files changed

+315347
-215383
lines changed

Some content is hidden

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

810 files changed

+315347
-215383
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ charset = utf-8
99

1010
[*.{js,html,css}]
1111
indent_style = space
12-
indent_size = 4
12+
indent_size = 2
1313

1414
[*.{json}]
1515
indent_style = space

.github/1000-1.gif

388 KB
Loading

.github/1000-2.png

2.02 MB
Loading

.github/1000-3.gif

3.73 MB
Loading

.github/product_overview.png

206 KB
Loading

.github/product_overview_en.png

349 KB
Loading

.prettierrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"printWidth": 120,
33
"proseWrap": "never",
4-
"tabWidth":4,
54
"semi":true,
65
"trailingComma":"none",
7-
"bracketSpacing":true
6+
"bracketSpacing":true,
7+
"singleQuote": true
88
}

CHANGELOG.md

Lines changed: 244 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,245 @@
1-
# next release #
1+
# 10.0.0 #
2+
3+
## Distribution package changes
4+
5+
### for Leaflet
6+
7+
- `iclient9-leaflet.js` 更名 `iclient-leaflet.js`
8+
9+
- `iclient9-leaflet.min.js` 更名 `iclient-leaflet.min.js`
10+
11+
- `iclient9-leaflet-es6.js` 更名 `iclient-leaflet-es6.js`
12+
13+
- `iclient9-leaflet-es6.min.js` 更名 `iclient-leaflet-es6.min.js`
14+
15+
- `iclient9-leaflet.css` 更名 `iclient-leaflet.css`
16+
17+
- `iclient9-leaflet.min.css` 更名 `iclient-leaflet.min.css`
18+
19+
20+
### for OpenLayers
21+
22+
- `iclient9-openlayers.js` 更名 `iclient-openlayers.js`
23+
24+
- `iclient9-openlayers.min.js` 更名 `iclient-openlayers.min.js`
25+
26+
- `iclient9-openlayers-es6.js` 更名 `iclient-openlayers-es6.js`
27+
28+
- `iclient9-openlayers-es6.min.js` 更名 `iclient-openlayers-es6.min.js`
29+
30+
- `iclient9-openlayers.css` 更名 `iclient-openlayers.css`
31+
32+
- `iclient9-openlayers.min.css` 更名 `iclient-openlayers.min.css`
33+
34+
### for MapboxGL
35+
36+
- `iclient9-mapboxgl.js` 更名 `iclient-mapboxgl.js`
37+
38+
- `iclient9-mapboxgl.min.js` 更名 `iclient-mapboxgl.min.js`
39+
40+
- `iclient9-mapboxgl-es6.js` 更名 `iclient-mapboxgl-es6.js`
41+
42+
- `iclient9-mapboxgl-es6.min.js` 更名 `iclient-mapboxgl-es6.min.js`
43+
44+
- `iclient9-mapboxgl.css` 更名 `iclient-mapboxgl.css`
45+
46+
- `iclient9-mapboxgl.min.css` 更名 `iclient-mapboxgl.min.css`
47+
48+
49+
## API changes
50+
51+
### for Leaflet
52+
53+
- `L.supermap.imageMapLayer` `L.supermap.tiledMapLayer` 新增 `options.rasterfunction` 参数,支持对接 SuperMap iServer 的栅格运算。
54+
55+
- `L.supermap.ServiceBase` 及其子类
56+
57+
- 新增 `options.headers` 参数,支持设置请求头内容。
58+
59+
- 命名空间 `L.supermap.widgets` 更名为 `L.supermap.components`
60+
61+
- 命名空间 `SuperMap.Widgets` 更名为 `SuperMap.Components`
62+
63+
### for OpenLayers
64+
65+
- `ol.source.TileSuperMapRest` `ol.source.ImageSuperMapRest` 新增 `options.rasterfunction` 参数,支持对接 SuperMap iServer 的栅格运算。
66+
67+
- `ol.supermap.ServiceBase` 及其子类
68+
69+
- 新增 `options. headers` 参数,支持设置请求头内容
70+
71+
- 命名空间 `SuperMap.Widgets` 更名为 `SuperMap.Components`
72+
73+
74+
### for MapboxGL
75+
76+
- `mapboxgl.supermap.ServiceBase` 及其子类
77+
78+
- 新增 `options. headers` 参数,支持设置请求头内容
79+
80+
- 命名空间 `SuperMap.Widgets` 更名为 `SuperMap.Components`
81+
82+
## Fixed
83+
84+
### for Leaflet
85+
86+
- 修复 SuperMap iServer 地图设置可见比例尺时,手机端用双指缩放时,超出最大最小级别时出错的问题
87+
88+
- 修复 `L.supermap.mapVLayer` 在 Internet Explorer 11/10 浏览器上可能不出图的问题
89+
90+
- 修复 `L.supermap.tiledVectorLayer` 使用自定义 `cartoCSS` 样式时配置 `pointurl` 不生效的问题
91+
92+
93+
### for OpenLayers
94+
95+
- 修复 `ol.source.Mapv` 在 Internet Explorer 11/10 浏览器上可能不出图的问题
96+
97+
### for MapboxGL
98+
99+
- 修复 `mapboxgl.supermap.MapvLayer` 在 Internet Explorer 11/10 浏览器上可能不出图的问题
100+
101+
102+
## Examples
103+
104+
- 新增 Component 分类
105+
106+
- 新增 “Vue - 地图” 分类及相关示例
107+
108+
- 新增 “Vue - 地图子组件” 分类及相关示例
109+
110+
- 新增 “Vue - 天地图子组件” 分类及相关示例
111+
112+
- 新增 “Vue - 可视化” 分类及相关示例
113+
114+
- 新增 “Vue - 图表” 分类及相关示例
115+
116+
- 新增 “Vue – 基础” 分类及相关示例
117+
118+
- 新增 “Vue - 其他” 分类及相关示例
119+
120+
### for Leaflet
121+
122+
- iServer – 地图
123+
124+
- 增加 “地图-栅格分析” 例子
125+
126+
### for OpenLayers
127+
128+
- iServer – 地图
129+
130+
- 增加 “地图-栅格分析” 例子
131+
132+
### for MapboxGL
133+
134+
- 可视化 - 矢量瓦片
135+
136+
- 增加 “iServer数据服务矢量瓦片(2000万点)” 例子
137+
138+
139+
# 10.0.0 beta #
140+
141+
## 新特性
142+
143+
### 积木式搭建应用:[SuperMap iClient Vue 组件库](https://github.com/SuperMap/vue-iclient)
144+
- SuperMap iClient Vue 组件库在架构设计上采用 MVVM 模式(Model-View-ViewModel)同时也能兼容其它框架,例如 React、Angular 以及原生 H5 开发。 使用 SuperMap iClient Vue 组件库,可像搭积木一样快速的创建自定义的 WebGIS 应用
145+
![1000-2](https://github.com/SuperMap/iClient-JavaScript/blob/master/.github/1000-2.png)
146+
147+
### 开箱即用:丰富的组件选择
148+
- 组件库采用了开箱即用的方案,现阶段提供了二/三维地图组件,丰富的地理可视化组件,图表类组件和基础 GIS 组件等
149+
![1000-3](https://github.com/SuperMap/iClient-JavaScript/blob/master/.github/1000-3.gif)
150+
151+
### 一键主题切换
152+
- 在主题风格上,SuperMap iClient Vue 组件现阶段内置了多套主题,可一键切换所有组件的主题风格
153+
![1000-1](https://github.com/SuperMap/iClient-JavaScript/blob/master/.github/1000-1.gif)
154+
155+
156+
## API changes
157+
158+
### for MapboxGL
159+
160+
- `SuperMap.GetFeaturesByGeometryParameters``geometry` 参数支持传入 `mapboxgl.LngLatBounds`
161+
162+
- `SuperMap.QueryByGeometryParameters``geometry` 参数支持传入 `mapboxgl.LngLatBounds`
163+
164+
## Fixed
165+
166+
### for Leaflet
167+
168+
- 修复客户端专题图鼠标滑过要素时可能出现的闪动问题
169+
170+
- 修复 `L.supermap.echartsLayer``options` 传入 `pane` 参数无效的问题
171+
172+
### for OpenLayers
173+
174+
- `ol.supermap.WebMap`
175+
176+
- 修复在跨域情况下访问地图失败的问题
177+
178+
- 修正内置的互联网底图最大缩放级别
179+
180+
- 修复访问坐标系为 epsg:0/epsg:-1000/epsg:-1 地图失败的问题
181+
182+
183+
# 10.0.0 alpha #
184+
185+
## 新特性
186+
187+
- iClient for MapboxGL(for vue)组件库新增示例,新增房产项目可视化监控平台示例,使用 iClient Vue 组件快速搭建行业大屏应用
188+
189+
![whatsNewComponents](https://github.com/SuperMap/iClient-JavaScript/blob/master/.github/1000-1.gif)
190+
191+
## API changes
192+
193+
### for Leaflet
194+
- `L.supermap.ServiceBase` 及其子类
195+
196+
- 新增 `options.crossOrigin` 参数,支持设置是否允许跨域请求。
197+
198+
### for OpenLayers
199+
200+
201+
- `ol.supermap.WebMap` 新增支持迁徙图、MVT矢量瓦片图层。
202+
203+
- `ol.supermap.MapboxStyles` 新增 `setSelectedObjects` `addSelectedObjects` `removeSelectedObjects` `clearSelectedObjects` 接口,支持设置、增加、移除、清除多个高亮要素。
204+
205+
- `ol.supermap.ServiceBase` 及其子类
206+
207+
- 新增 `options.crossOrigin` 参数,支持设置是否允许跨域请求。
208+
209+
210+
### for MapboxGL
211+
212+
- `mapboxgl.supermap.ServiceBase` 及其子类
213+
214+
- 新增 `options.crossOrigin` 参数,支持设置是否允许跨域请求。
215+
216+
## Fixed
217+
218+
### for Leaflet
219+
220+
- 修复从 SuperMap iServer 获取要素可能多`stringID``ID`属性字段的问题,请使用`feature.id`获取要素id
221+
222+
### for OpenLayers
223+
224+
- 修复从 SuperMap iServer 获取要素可能多`stringID``ID`属性字段的问题,请使用`feature.getId()`获取要素id
225+
226+
### for MapboxGL
227+
228+
- 修复从 SuperMap iServer 获取要素可能多`stringID``ID`属性字段的问题,请使用`feature.id`获取要素id
229+
230+
231+
## Examples
232+
233+
### for OpenLayers
234+
235+
- 修复平面无投影地图相关示例访问失败的问题。
236+
237+
### for MapboxGL
238+
239+
- 新增 `Vue 组件` 分类及相关示例。
240+
241+
242+
2243
# 9.1.2 (2019-04-26) #
3244

4245
## 新特性
@@ -7,7 +248,7 @@
7248

8249
- iClient for MapboxGL 新增 WebMap 地图组件,图表组件,图例组件,图层列表组件,量算组件,查询/搜索组件,进度条等基础组件,支持多种主题(可一键切换风格)
9250

10-
![whatsNewMapboxGlWidgets](https://github.com/SuperMap/iClient-JavaScript/blob/master/.github/912-1.png)
251+
![whatsNewMapboxGlComponents](https://github.com/SuperMap/iClient-JavaScript/blob/master/.github/912-1.png)
11252

12253
## API changes
13254

@@ -96,7 +337,7 @@
96337

97338
- iClient for Leaflet新增:文件打开组件、数据流组件、地址匹配与图层查询组件、客户端计算组件、分布式分析组件、数据服务查询组件
98339

99-
![whatsNewWidgets](https://github.com/SuperMap/iClient-JavaScript/blob/master/.github/911-2.png)
340+
![whatsNewClientComputaion](https://github.com/SuperMap/iClient-JavaScript/blob/master/.github/911-2.png)
100341

101342
## API changes
102343

CODE_OF_CONDUCT.md

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
In the interest of fostering an open and welcoming environment, we as
6+
contributors and maintainers pledge to making participation in our project and
7+
our community a harassment-free experience for everyone, regardless of age, body
8+
size, disability, ethnicity, sex characteristics, gender identity and expression,
9+
level of experience, education, socio-economic status, nationality, personal
10+
appearance, race, religion, or sexual identity and orientation.
11+
12+
## Our Standards
13+
14+
Examples of behavior that contributes to creating a positive environment
15+
include:
16+
17+
* Using welcoming and inclusive language
18+
* Being respectful of differing viewpoints and experiences
19+
* Gracefully accepting constructive criticism
20+
* Focusing on what is best for the community
21+
* Showing empathy towards other community members
22+
23+
Examples of unacceptable behavior by participants include:
24+
25+
* The use of sexualized language or imagery and unwelcome sexual attention or
26+
advances
27+
* Trolling, insulting/derogatory comments, and personal or political attacks
28+
* Public or private harassment
29+
* Publishing others' private information, such as a physical or electronic
30+
address, without explicit permission
31+
* Other conduct which could reasonably be considered inappropriate in a
32+
professional setting
33+
34+
## Our Responsibilities
35+
36+
Project maintainers are responsible for clarifying the standards of acceptable
37+
behavior and are expected to take appropriate and fair corrective action in
38+
response to any instances of unacceptable behavior.
39+
40+
Project maintainers have the right and responsibility to remove, edit, or
41+
reject comments, commits, code, wiki edits, issues, and other contributions
42+
that are not aligned to this Code of Conduct, or to ban temporarily or
43+
permanently any contributor for other behaviors that they deem inappropriate,
44+
threatening, offensive, or harmful.
45+
46+
## Scope
47+
48+
This Code of Conduct applies both within project spaces and in public spaces
49+
when an individual is representing the project or its community. Examples of
50+
representing a project or community include using an official project e-mail
51+
address, posting via an official social media account, or acting as an appointed
52+
representative at an online or offline event. Representation of a project may be
53+
further defined and clarified by project maintainers.
54+
55+
## Enforcement
56+
57+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
58+
reported by contacting the project team at support@supermap.com. All
59+
complaints will be reviewed and investigated and will result in a response that
60+
is deemed necessary and appropriate to the circumstances. The project team is
61+
obligated to maintain confidentiality with regard to the reporter of an incident.
62+
Further details of specific enforcement policies may be posted separately.
63+
64+
Project maintainers who do not follow or enforce the Code of Conduct in good
65+
faith may face temporary or permanent repercussions as determined by other
66+
members of the project's leadership.
67+
68+
## Attribution
69+
70+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71+
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
72+
73+
[homepage]: https://www.contributor-covenant.org
74+
75+
For answers to common questions about this code of conduct, see
76+
https://www.contributor-covenant.org/faq

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
## 简介 | [ENGLISH](https://github.com/SuperMap/iClient-JavaScript/blob/master/README_EN.md)
88

9-
SuperMap iClient JavaScript 9D(2019) 是一套开源开放的 WebGIS 客户端应用开发包,基于现代 Web 技术栈全新构建,是 SuperMap 云 GIS 和在线 GIS 平台系列产品的统一 JavaScript 客户端。它集成了领先的开源地图库、可视化库,支持多源数据与地图服务,支持多终端,跨浏览器。提供了全新的 GIS 大数据可视化、实时流数据可视化等功能,通过本产品可快速实现浏览器上美观、流畅的地图呈现。
9+
SuperMap iClient JavaScript 10i 是一套开源开放的 WebGIS 客户端应用开发包,基于现代 Web 技术栈全新构建,是 SuperMap 云 GIS 和在线 GIS 平台系列产品的统一 JavaScript 客户端。它集成了领先的开源地图库、可视化库,支持多源数据与地图服务,支持多终端,跨浏览器。提供了全新的 GIS 大数据可视化、实时流数据可视化等功能,通过本产品可快速实现浏览器上美观、流畅的地图呈现。
1010

1111
![Overview](https://raw.githubusercontent.com/SuperMap/iClient-JavaScript/master/.github/product_overview.png)
1212

0 commit comments

Comments
 (0)