Skip to content

Commit c6c73c9

Browse files
committed
【update】更新iclient8C,更新ChangeLog review by liqian
1 parent cd58b14 commit c6c73c9

21 files changed

+136
-19
lines changed

.github/912-1.png

71.7 KB
Loading

CHANGELOG.md

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,82 @@
11
# next release #
2+
# 9.1.2 (2019-04-26) #
3+
4+
## 新特性
5+
6+
### iClient for MapboxGL 新增微件(for vue)
7+
8+
- iClient for MapboxGL 新增 WebMap 地图微件,图表微件,图例微件,图层列表微件,量算微件,查询/搜索微件,进度条等基础微件,支持多种主题(可一键切换风格)
9+
10+
![whatsNewMapboxGlWidgets](https://github.com/SuperMap/iClient-JavaScript/blob/master/.github/912-1.png)
11+
12+
## API changes
13+
14+
### for Leaflet
15+
16+
- 互联网地图 - 天地图
17+
- `L.supermap.tiandituTileLayer` 新增 `options.key` 参数,支持传入天地图服务密钥。
18+
19+
### for OpenLayers
20+
21+
- 互联网地图 - 天地图
22+
- `ol.source.Tianditu` 新增 `options.key` 参数,支持传入天地图服务密钥。
23+
- 控件 - 基础控件 - 比例尺控件
24+
- 新增 `ol.supermap.control.ScaleLine` 类,修复了 OpenLayers V4.6.5 版本 WGS84 坐标系 数值错误问题。
25+
- iPortal
26+
- `ol.supermap.WebMap` 新增支持数据流图层,等级符号专题图图层。
27+
- `ol.supermap.MapboxStyles``options.source` 参数为可选参数,不传时为 `style` 中的第一个 `source`
28+
- `ol.source.VectorTileSuperMapRest``options.source` 参数为可选参数,不传时为 `style` 中的第一个 `source`
29+
30+
### for MapboxGL
31+
32+
- iPortal - 地图
33+
- 新增 `mapboxgl.supermap.WebMap` 类,支持加载 iPortal WebMap 图层。
34+
35+
## Fixed
36+
37+
### for Leaflet
38+
- 修复 `SuperMap.Widgets.Chart``type` 参数解析错误的问题
39+
- 修复 `L.supermap.mapVLayer` 动态图层移除后可能出现的空值问题
40+
- 修复 `L.supermap.mapVLayer` 地图缩放,图层位置偏差问题
41+
- 修复 `L.supermap.echartsLayer` 同时加载两个 EchartsLayer 图层时,图层互相影响问题
42+
- 修复 `SuperMap.REST.ClipParameter``clipRegion` 参数解析错误的问题
43+
44+
45+
### for OpenLayers
46+
47+
- 修复 `SuperMap.Widgets.Chart``type` 参数解析错误的问题
48+
- 修复 `ol.supermap.WebMap` 专题图字段过滤错误问题
49+
- 修复 `ol.supermap.WebMap` 加载小范围底图时,内存耗尽问题
50+
- 修复 `ol.source.Mapv` webgl 绘制模式时,在浏览器缩放比例非100%时,要素偏移的问题
51+
- 修复 `SuperMap.REST.ClipParameter``clipRegion` 参数解析错误的问题
52+
53+
54+
### for MapboxGL
55+
56+
- 修复 `SuperMap.Widgets.Chart``type` 参数解析错误的问题
57+
- 修复 `SuperMap.REST.ClipParameter``clipRegion` 参数解析错误的问题
58+
59+
60+
### Classic
61+
62+
- 修复 `SuperMap.Geometry.GeoText` 不能拖动问题
63+
- 修复 `SuperMap.REST.ClipParameter``clipRegion` 参数解析错误的问题
64+
- 修复 `SuperMap.Layer.TiledDynamicRESTLayer``origin` 在 IE 浏览器出图错误问题
65+
- 修复加载谷歌地图失败问题
66+
- 修复加载天地图失败问题
67+
68+
## Examples
69+
70+
### for Leaflet
71+
72+
- 新增 “微件 - 基础 - 图表_iServer” 示例
73+
- 新增 “微件 - 基础 - 图表_iPortal” 示例
74+
75+
### for MapboxGL
76+
77+
- 新增 “iPortal - 地图” 分类及相关示例
78+
- 新增 “微件 - for Vue” 分类及相关示例
79+
- 新增 “可视化 - 矢量瓦片 - 矢量瓦片叠加” 示例
280

381

482
# 9.1.1 (2018-12-27) #

dist/mapboxgl/iclient9-mapboxgl-widgets-vue.css

Lines changed: 7 additions & 0 deletions
Large diffs are not rendered by default.

dist/mapboxgl/iclient9-mapboxgl-widgets-vue.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/*!
2+
*
3+
* iclient9-mapboxgl-widgets-vue.(http://iclient.supermap.io)
4+
* Copyright© 2000 - 2019 SuperMap Software Co.Ltd
5+
* license: Apache-2.0
6+
*
7+
*/
18
(function webpackUniversalModuleDefinition(root, factory) {
29
if(typeof exports === 'object' && typeof module === 'object')
310
module.exports = factory(require("./libs/iclient-mapboxgl/iclient9-mapboxgl.min"), require("vue"), require("./libs/mapboxgl/mapbox-gl-enhance.js"), require("echarts"), require("@mapbox/mapbox-gl-draw"), require("echarts-liquidfill"));

dist/mapboxgl/iclient9-mapboxgl-widgets-vue.min.css

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/mapboxgl/iclient9-mapboxgl-widgets-vue.min.js

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/openlayers/iclient9-openlayers-es6.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65501,6 +65501,7 @@ external_ol_default.a.supermap.control = external_ol_default.a.supermap.control
6550165501
/**
6550265502
* @class ol.supermap.control.ScaleLine
6550365503
* @category Control
65504+
* @version 9.1.2
6550465505
* @classdesc 比例尺控件。
6550565506
* <div style="padding: 20px;border: 1px solid #eee;border-left-width: 5px;border-radius: 3px;border-left-color: #ce4844;">
6550665507
* <p style="color: #ce4844">Notice</p>
@@ -65517,7 +65518,10 @@ external_ol_default.a.supermap.control = external_ol_default.a.supermap.control
6551765518
* map.addControl(control)
6551865519
*/
6551965520
class ScaleLine_ScaleLine extends external_ol_default.a.control.ScaleLine {
65520-
65521+
/**
65522+
* @constructs
65523+
* @version 9.1.2
65524+
*/
6552165525
constructor(options) {
6552265526
options = options || {};
6552365527
//需在super之前定义render,真正的调用是在初始化完成后
@@ -68470,7 +68474,8 @@ class TileSuperMapRest_TileSuperMapRest extends external_ol_default.a.source.Til
6847068474
var resolution = me.tileGrid.getResolution(z);
6847168475
var dpi = 96;
6847268476
var unit = projection.getUnits() || REST_Unit.DEGREE;
68473-
if (unit === 'degrees') {
68477+
// OGC WKT 解析出单位是 degree
68478+
if (unit === 'degrees' || unit === 'degree') {
6847468479
unit = REST_Unit.DEGREE;
6847568480
}
6847668481
//通过wkt方式自定义坐标系的时候,是meter

dist/openlayers/iclient9-openlayers-es6.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/openlayers/iclient9-openlayers.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69803,7 +69803,8 @@ var TileSuperMapRest = exports.TileSuperMapRest = function (_ol$source$TileImage
6980369803
var resolution = me.tileGrid.getResolution(z);
6980469804
var dpi = 96;
6980569805
var unit = projection.getUnits() || _iclientCommon.Unit.DEGREE;
69806-
if (unit === 'degrees') {
69806+
// OGC WKT 解析出单位是 degree
69807+
if (unit === 'degrees' || unit === 'degree') {
6980769808
unit = _iclientCommon.Unit.DEGREE;
6980869809
}
6980969810
//通过wkt方式自定义坐标系的时候,是meter
@@ -71006,6 +71007,7 @@ _openlayers2.default.supermap.control = _openlayers2.default.supermap.control ||
7100671007
/**
7100771008
* @class ol.supermap.control.ScaleLine
7100871009
* @category Control
71010+
* @version 9.1.2
7100971011
* @classdesc 比例尺控件。
7101071012
* <div style="padding: 20px;border: 1px solid #eee;border-left-width: 5px;border-radius: 3px;border-left-color: #ce4844;">
7101171013
* <p style="color: #ce4844">Notice</p>
@@ -71025,6 +71027,10 @@ _openlayers2.default.supermap.control = _openlayers2.default.supermap.control ||
7102571027
var ScaleLine = exports.ScaleLine = function (_ol$control$ScaleLine) {
7102671028
_inherits(ScaleLine, _ol$control$ScaleLine);
7102771029

71030+
/**
71031+
* @constructs
71032+
* @version 9.1.2
71033+
*/
7102871034
function ScaleLine(options) {
7102971035
_classCallCheck(this, ScaleLine);
7103071036

0 commit comments

Comments
 (0)