Skip to content

Commit dcc42c7

Browse files
committed
2 parents 68ba759 + 4f1d449 commit dcc42c7

16 files changed

+1199
-378
lines changed

.github/1000-1.gif

63.1 KB
Loading

.github/product_overview.png

206 KB
Loading

.github/product_overview_en.png

349 KB
Loading

CHANGELOG.md

Lines changed: 61 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,64 @@
1-
# next release #
1+
# 10.0.0 alpha #
2+
3+
## 新特性
4+
5+
- iClient for MapboxGL(for vue)组件库新增示例,新增房产项目可视化监控平台示例,使用 iClient Vue 组件快速搭建行业大屏应用
6+
7+
![whatsNewComponents](https://github.com/SuperMap/iClient-JavaScript/blob/master/.github/1000-1.gif)
8+
9+
## API changes
10+
11+
### for Leaflet
12+
- `L.supermap.ServiceBase` 及其子类
13+
14+
- 新增 `options.crossOrigin` 参数,支持设置是否允许跨域请求。
15+
16+
### for OpenLayers
17+
18+
- iPortal
19+
20+
- `ol.supermap.WebMap` 新增支持迁徙图、MVT矢量瓦片图层。
21+
22+
- `ol.supermap.MapboxStyles` 新增 `setSelectedObjects` `addSelectedObjects` `removeSelectedObjects` `clearSelectedObjects` 接口,只是设置、增加、移除、清除多个高亮要素。
23+
24+
- `ol.supermap.ServiceBase` 及其子类
25+
26+
- 新增 `options.crossOrigin` 参数,支持设置是否允许跨域请求。
27+
28+
29+
### for MapboxGL
30+
31+
- `mapboxgl.supermap.ServiceBase` 及其子类
32+
33+
- 新增 `options.crossOrigin` 参数,支持设置是否允许跨域请求。
34+
35+
## Fixed
36+
37+
### for Leaflet
38+
39+
- 修复从 SuperMap iServer 获取要素可能多`stringID``ID`属性字段的问题,请使用`feature.id`获取要素id
40+
41+
### for OpenLayers
42+
43+
- 修复从 SuperMap iServer 获取要素可能多`stringID``ID`属性字段的问题,请使用`feature.getId()`获取要素id
44+
45+
### for MapboxGL
46+
47+
- 修复从 SuperMap iServer 获取要素可能多`stringID``ID`属性字段的问题,请使用`feature.id`获取要素id
48+
49+
50+
## Examples
51+
52+
### for OpenLayers
53+
54+
- 修复平面无投影地图相关示例访问失败的问题。
55+
56+
### for MapboxGL
57+
58+
- 新增 `Vue 组件` 分类及相关示例。
59+
60+
61+
262
# 9.1.2 (2019-04-26) #
363

464
## 新特性

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

README_EN.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66

77
## Introduction | [中文](https://github.com/SuperMap/iClient-JavaScript/blob/master/README.md)
88

9-
SuperMap iClient JavaScript 9D (2019) is a set of open source WebGIS client application development kit. It’s a new construction based on modern Web technology. It’s a common JavaScript client for SuperMap Cloud GIS and Online GIS platform’s series products. It integrates leading open source map libraries and visualization libraries, supports multi-source data services and map services, supports multiple terminals and crossing browser. It provides new functions such as large data visualization and real-time flow data visualization in GIS. Through this product, we can quickly present maps beautifully and smoothly on browsers.
9+
SuperMap iClient JavaScript 10i is a set of open source WebGIS client application development kit. It’s a new construction based on modern Web technology. It’s a common JavaScript client for SuperMap Cloud GIS and Online GIS platform’s series products. It integrates leading open source map libraries and visualization libraries, supports multi-source data services and map services, supports multiple terminals and crossing browser. It provides new functions such as large data visualization and real-time flow data visualization in GIS. Through this product, we can quickly present maps beautifully and smoothly on browsers.
1010

11-
![Overview](https://github.com/SuperMap/iClient-JavaScript/blob/master/.github/product_overview.png)
11+
![Overview](https://github.com/SuperMap/iClient-JavaScript/blob/master/.github/product_overview_en.png)
1212

1313
[中文官网](http://iclient.supermap.io) | [ENGLISH HOMEPAGE](http://iclient.supermap.io/en/web/index.html)
1414

dist/mapboxgl/iclient9-mapboxgl-vue.css

Lines changed: 44 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -8531,29 +8531,25 @@ body {
85318531

85328532
/** common */
85338533
.sm-component-indicator {
8534-
display: inline-block;
8534+
display: inline-flex;
85358535
flex-flow: column nowrap;
8536-
justify-content: flex-start;
8536+
justify-content: center;
85378537
color: #595959; }
85388538
.sm-component-indicator__head {
85398539
display: flex;
85408540
flex-flow: row nowrap;
85418541
justify-content: flex-start;
8542-
height: 30%;
85438542
padding-left: 5px;
85448543
margin-right: 5px; }
85458544
.sm-component-indicator__title {
85468545
font-size: 16px;
85478546
line-height: 30px;
85488547
font-weight: bolder; }
85498548
.sm-component-indicator__content {
8550-
height: 50%;
85518549
display: flex;
85528550
flex-flow: row nowrap;
85538551
align-items: flex-end;
85548552
font-weight: bolder;
8555-
padding-top: 10px;
8556-
margin-bottom: 10px;
85578553
margin-right: 10px; }
85588554
.sm-component-indicator__num {
85598555
text-indent: 5px;
@@ -9062,8 +9058,7 @@ body {
90629058
.sm-component-legend {
90639059
overflow-y: auto;
90649060
border: none;
9065-
color: #fff;
9066-
padding-right: 30px; }
9061+
color: #fff; }
90679062
.sm-component-legend::-webkit-scrollbar {
90689063
width: 6px;
90699064
height: 6px;
@@ -9074,11 +9069,17 @@ body {
90749069
.sm-component-legend .sm-component-card__content {
90759070
box-shadow: unset;
90769071
max-height: 400px; }
9072+
.sm-component-legend .sm-component-card__content.is-not-header {
9073+
padding-right: 15px; }
90779074
.sm-component-legend .ant-card {
90789075
height: 100%; }
90799076
.sm-component-legend .ant-card-body {
90809077
padding: 0px;
90819078
height: 100%; }
9079+
.sm-component-legend .sm-component-card__icon + .sm-component-card__content .ant-collapse-item:last-child .header-wrap {
9080+
margin-bottom: 10px; }
9081+
.sm-component-legend .sm-component-card__icon + .sm-component-card__content .ant-collapse-content-box {
9082+
padding-right: 30px; }
90829083
.sm-component-legend__table {
90839084
border-top: none; }
90849085
.sm-component-legend__noBorder {
@@ -9104,7 +9105,7 @@ body {
91049105
border-top-color: transparent; }
91059106
.sm-component-legend .ant-collapse-content .ant-collapse-content-box {
91069107
padding: 0px;
9107-
padding-left: 8px; }
9108+
padding: 0 8px; }
91089109
.sm-component-legend__wrap {
91099110
display: flex;
91109111
justify-content: center;
@@ -9123,7 +9124,8 @@ body {
91239124
width: 40px;
91249125
height: 100%; }
91259126
.sm-component-legend__range-item > span {
9126-
margin-left: 2px; }
9127+
margin-left: 2px;
9128+
max-width: 200px; }
91279129
.sm-component-legend__heatbox {
91289130
display: flex !important;
91299131
overflow: hidden; }
@@ -9142,11 +9144,17 @@ body {
91429144
list-style: none;
91439145
height: 30px; }
91449146
.sm-component-legend__field-value {
9145-
margin-left: 20px; }
9147+
margin-left: 20px;
9148+
max-width: 200px; }
91469149
.sm-component-legend__themefield {
91479150
font-size: 12px;
91489151
margin-left: 30px;
9149-
margin-bottom: 4px; }
9152+
margin-bottom: 4px;
9153+
max-width: 250px; }
9154+
.sm-component-legend__title {
9155+
max-width: 250px; }
9156+
.sm-component-legend__title + i {
9157+
margin-left: 5px; }
91509158

91519159
.sm-component-web-map {
91529160
width: 100%;
@@ -9224,15 +9232,20 @@ body {
92249232
width: 6px;
92259233
height: 6px; }
92269234
.sm-component-search__panel {
9227-
padding-left: 4px; }
9235+
padding-left: 4px;
9236+
padding-right: 4px; }
92289237
.sm-component-search__panel-header {
92299238
display: block;
92309239
border-bottom: 1px solid;
92319240
font-size: 14px;
92329241
font-family: "微软雅黑";
92339242
padding: 6px 0px;
92349243
margin: 7px;
9235-
font-weight: bolder; }
9244+
font-weight: bolder;
9245+
overflow: hidden;
9246+
text-overflow: ellipsis;
9247+
white-space: nowrap;
9248+
width: 96%; }
92369249
.sm-component-search__panel-body > ul {
92379250
list-style: none;
92389251
margin-left: -32px;
@@ -9277,6 +9290,7 @@ body {
92779290
font-weight: 700; }
92789291
.sm-component-query__body {
92799292
min-width: 200px;
9293+
max-height: 400px;
92809294
transform-origin: top left;
92819295
transition: all 0.5s;
92829296
background: #ffff;
@@ -9310,14 +9324,21 @@ body {
93109324
border-color: transparent; }
93119325
.sm-component-query__job-info-header {
93129326
cursor: pointer;
9313-
padding: 10px 5px; }
9327+
padding: 10px 5px 2px; }
93149328
.sm-component-query__job-info-header:hover {
93159329
color: #409eff; }
93169330
.sm-component-query__job-info-header > .sm-components-icons-preview {
9317-
font-size: 14px; }
9331+
font-size: 14px;
9332+
position: relative;
9333+
top: -5px; }
93189334
.sm-component-query__job-info-header > .sm-component-query__job-info-name {
93199335
margin-left: 10px;
9320-
font-size: 14px; }
9336+
margin-right: 10px;
9337+
font-size: 14px;
9338+
display: inline-block;
9339+
overflow: hidden;
9340+
text-overflow: ellipsis;
9341+
white-space: nowrap; }
93219342
.sm-component-query__job-info-header > .sm-components-icons-legend-unfold,
93229343
.sm-component-query__job-info-header > .sm-components-icons-legend-fold {
93239344
color: #c0c4cc;
@@ -9373,6 +9394,12 @@ body {
93739394
font-size: 10px;
93749395
margin-top: 5px;
93759396
cursor: pointer; }
9397+
.sm-component-query__header-name {
9398+
display: inline-block;
9399+
overflow: hidden;
9400+
text-overflow: ellipsis;
9401+
white-space: nowrap;
9402+
width: 90%; }
93769403
.sm-component-query__no-result, .sm-component-query__result-loading {
93779404
height: 100%;
93789405
display: flex;

0 commit comments

Comments
 (0)