@mapgis/webclient-mapboxgl-plugin 10.3.4 → 17.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +51 -124
- package/dist/es5/webclient-common.min.js +90 -0
- package/dist/es5/webclient-mapboxgl-plugin.min.js +1 -0
- package/dist/webclient-mapboxgl-plugin-es6.min.js +1 -0
- package/documention/EchartsLayer.html +379 -0
- package/documention/MapViewMapboxgl.html +3587 -0
- package/documention/Popup.html +1523 -0
- package/documention/Screenshot.html +1089 -0
- package/documention/SketchEditorMapboxgl.html +3383 -0
- package/documention/document_ArcGISVectorTileLayerView.js.html +265 -0
- package/documention/document_EchartsLayerView.js.html +246 -0
- package/documention/document_GraphicsLayerView.js.html +314 -0
- package/documention/document_IGSFeatureLayerView.js.html +218 -0
- package/documention/document_IGSMapImageLayerView.js.html +240 -0
- package/documention/document_IGSTileLayerView.js.html +236 -0
- package/documention/document_IGSVectorTileLayerView.js.html +264 -0
- package/documention/document_MapVLayerView.js.html +247 -0
- package/documention/document_WMSLayerView.js.html +240 -0
- package/documention/document_WMTSLayerView.js.html +234 -0
- package/documention/document_WebTileLayerView.js.html +240 -0
- package/documention/document_support_FeatureRenderView.js.html +682 -0
- package/documention/document_support_MapboxglGraphicsLayer.js.html +1184 -0
- package/documention/document_support_SourceMetaData.js.html +223 -0
- package/documention/document_support_Utils.js.html +624 -0
- package/documention/document_support_mapbox_mapboxCustomUtil.js.html +322 -0
- package/documention/global.html +252 -0
- package/documention/index.html +251 -0
- package/documention/module-%E5%AE%A2%E6%88%B7%E7%AB%AF%E5%8F%AF%E8%A7%86%E5%8C%96.MapvLayer.html +445 -0
- package/documention/scripts/app.min.js +1 -0
- package/documention/scripts/linenumber.js +26 -0
- package/documention/scripts/search.js +45 -0
- package/documention/scripts/sideBar.js +11 -0
- package/documention/sketchEditor_SketchEditorMapboxgl.js.html +875 -0
- package/documention/styles/anchor.png +0 -0
- package/documention/styles/app.min.css +1 -0
- package/documention/styles/c.png +0 -0
- package/documention/styles/iframe.css +29 -0
- package/documention/styles/m.png +0 -0
- package/documention/styles/prettify-jsdoc.css +111 -0
- package/documention/styles/prettify-tomorrow.css +132 -0
- package/documention/styles/reset.css +44 -0
- package/documention/styles/up-arrow.png +0 -0
- package/documention/tutorial-1./345/277/253/351/200/237/345/205/245/351/227/250.html +165 -0
- package/documention/util_ConvertRendererToStyleLayerUtil.js.html +844 -0
- package/documention/util_MapboxglFeatureRender.js.html +225 -0
- package/documention/util_MapboxglPlugin.js.html +284 -0
- package/documention/view_MapViewMapboxgl.js.html +1882 -0
- package/documention/view_utils_ArcGISVectorTileLayerUtil.js.html +382 -0
- package/documention/view_utils_EchartsLayerUtil.js.html +194 -0
- package/documention/view_utils_IGSMapImageUtil.js.html +373 -0
- package/documention/view_utils_IGSTileLayerUtil.js.html +285 -0
- package/documention/view_utils_IGSVectorTileLayerUtil.js.html +379 -0
- package/documention/view_utils_MapVLayerUtil.js.html +197 -0
- package/documention/view_utils_Popup.js.html +525 -0
- package/documention/view_utils_Screenshot.js.html +320 -0
- package/documention/view_utils_WMSLayerUtil.js.html +337 -0
- package/documention/view_utils_WMTSLayerUtil.js.html +331 -0
- package/documention/view_utils_WebTileLayerUtil.js.html +284 -0
- package/documention/view_utils_echarts_EchartsLayerPlugin.js.html +419 -0
- package/documention/view_utils_mapV_MapVLayerPlugin.js.html +527 -0
- package/documention/view_utils_mapV_MapvBaseLayer.js.html +477 -0
- package/documention/view_utils_support_rasterLayerUtil.js.html +244 -0
- package/documention/view_utils_support_vectorLayerUtil.js.html +503 -0
- package/package.json +20 -20
- package/core/Base.js +0 -15
- package/core/index.js +0 -5
- package/index.js +0 -6
- package/overlay/D3Layer.js +0 -108
- package/overlay/EchartsLayer.js +0 -242
- package/overlay/ElsCubeLayer.js +0 -125
- package/overlay/MapvLayer.js +0 -296
- package/overlay/StreamLayer.js +0 -83
- package/overlay/TimeSpaceCubeLayer.js +0 -135
- package/overlay/dthree/mapbox-d3.css +0 -9
- package/overlay/echarts/MapCoordSys.js +0 -105
- package/overlay/echarts/MapModel.js +0 -0
- package/overlay/echarts/MapView.js +0 -0
- package/overlay/echarts/index.js +0 -4
- package/overlay/index.js +0 -31
- package/overlay/mapv/MapvBaseLayer.js +0 -299
- package/overlay/mapv/index.js +0 -5
- package/overlay/stream/GeojsonStreamLayer.js +0 -135
- package/overlay/stream/MapvStreamLayer.js +0 -79
- package/overlay/stream/index.js +0 -3
- package/overlay/stream/popup.css +0 -31
- package/service/index.js +0 -1
- package/service/socket/ISocketService.js +0 -121
- package/service/socket/SocketEvent.js +0 -50
- package/service/socket/SocketService.js +0 -90
- package/util/Evented.js +0 -295
- package/util/Util.js +0 -348
package/README.md
CHANGED
|
@@ -1,162 +1,89 @@
|
|
|
1
|
-
|
|
1
|
+
## @mapgis/webclient-mapboxgl-plugin 版本说明
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
[![build status][travis-img]][travis-url]
|
|
5
|
-
[](https://github.com/ParnDeedlit/WebClient-JavaScript-Plugin/blob/master/LICENSE)
|
|
3
|
+
### v17.0.0
|
|
6
4
|
|
|
7
|
-
|
|
8
|
-
[npm-url]: https://www.npmjs.com/package/esri-leaflet
|
|
9
|
-
[travis-img]: https://img.shields.io/travis/Esri/esri-leaflet/master.svg?style=flat-square
|
|
10
|
-
[travis-url]: https://github.com/ParnDeedlit/WebClient-JavaScript-Plugin
|
|
5
|
+
**更新说明:**
|
|
11
6
|
|
|
12
|
-
|
|
7
|
+
1. 功能新增
|
|
13
8
|
|
|
14
|
-
|
|
9
|
+
- 二维Mapboxgl插件适配草图编辑模块功能
|
|
10
|
+
- 二维Mapboxgl插件实现统一、单值、分段、等级、聚合专题图
|
|
15
11
|
|
|
16
|
-
这个工程的目标 **不是** 替代司马云上的官方 [WebClient-JavaScript](https://github.com/MapGIS/WebClient-JavaScript) 而是作为一种补集 *针对* 传统GIS技术中较少使用的大数据可视化,时空聚类,前端空间分析,客户端专题去等提供额外的功能支撑.
|
|
17
12
|
|
|
18
|
-
> 司马云上的官方的传统的**WebClient-JavaScript**完全满足常规的GIS开发模式
|
|
19
13
|
|
|
20
|
-
|
|
14
|
+
### V16.8.0
|
|
21
15
|
|
|
22
|
-
|
|
23
|
-
- [示例](#示例)
|
|
24
|
-
- [使用方式](#使用方式)
|
|
25
|
-
- [API接口](#API接口)
|
|
26
|
-
- [独立插件](#独立插件)
|
|
27
|
-
- [问题](#问题)
|
|
28
|
-
- [依赖](#依赖)
|
|
29
|
-
- [深入了解](#深入了解)
|
|
30
|
-
- [开发说明](#开发说明)
|
|
31
|
-
- [版本控制](#版本控制)
|
|
32
|
-
- [贡献方式](#贡献方式)
|
|
33
|
-
- [团队](#团队)
|
|
34
|
-
- [证书](#证书)
|
|
16
|
+
**更新说明:**
|
|
35
17
|
|
|
36
|
-
|
|
37
|
-
请看 [Zondy.Echarts](http://client.snanyun.com:8899/ui/gallery-mapbox.html#dataview), [Zondy.Mapv](http://client.snanyun.com:8899/ui/gallery-mapbox.html#dataview-mapv-path_converge), [Zondy.D3](http://client.snanyun.com:8899/ui/gallery-leaflet.html#dataview-d3-csv).
|
|
18
|
+
- 维护更新,修复若干 Bug
|
|
38
19
|
|
|
39
|
-
|
|
20
|
+
|
|
40
21
|
|
|
41
|
-
|
|
22
|
+
### V16.6.0
|
|
42
23
|
|
|
43
|
-
|
|
24
|
+
**更新说明:**
|
|
44
25
|
|
|
45
|
-
|
|
26
|
+
- 引擎库新增自定义坐标系(如高斯)数据和服务(含矢量瓦片)的接入功能
|
|
46
27
|
|
|
47
|
-
1. 配合WebClient-JavaScript使用
|
|
48
|
-
1. 单独使用WebClient-JavaScript-Plugin
|
|
49
28
|
|
|
50
|
-
### 1.WebClient-JavaScript使用
|
|
51
29
|
|
|
52
|
-
|
|
30
|
+
### V16.4.0
|
|
53
31
|
|
|
54
|
-
|
|
32
|
+
**更新说明:**
|
|
55
33
|
|
|
56
|
-
|
|
57
|
-
<script src="./libs/zondyclient/include-mapboxgl-local.js"></script>
|
|
58
|
-
```
|
|
34
|
+
- 维护更新,修复若干 Bug
|
|
59
35
|
|
|
60
|
-
``` javascript
|
|
61
|
-
if (!inArray(excludes, 'plugin')) {
|
|
62
|
-
//这里是三方如igserver-x,datastore,mapv,echart等的api
|
|
63
|
-
inputCSS(httpUrl + "/cdn/zondyclient/webclient-mapboxgl-plugins.css");
|
|
64
|
-
inputScript(httpUrl + "/cdn/zondyclient/webclient-mapboxgl-plugins.min.js");
|
|
65
|
-
}
|
|
66
|
-
```
|
|
67
36
|
|
|
68
|
-
###
|
|
69
|
-
以百度Echatrs为例,如果要使用 EchartsLayer图层:
|
|
70
|
-
``` javascript
|
|
71
|
-
layer = new mapboxgl.zondy.EchartsLayer(map, option).addTo(map);
|
|
72
|
-
```
|
|
37
|
+
### V16.2.0
|
|
73
38
|
|
|
74
|
-
|
|
39
|
+
**更新说明:**
|
|
75
40
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
41
|
+
- 新增接入离线 TMS 的高德(GCJ02)地图
|
|
42
|
+
- 新增接入离线百度(BD09)地图
|
|
43
|
+
- 新增接入 Google(GCJ02)地图
|
|
44
|
+
- 新增行业标绘功能:支持基础、军事两类符号的交互式编辑,支持属性、生长、显隐、闪烁、路径、比例等动画类型,支持态势编辑、管理、推演等功能
|
|
45
|
+
- 维护更新,修复若干 Bug
|
|
79
46
|
|
|
80
|
-
|
|
47
|
+
|
|
48
|
+
### V16.0.0
|
|
81
49
|
|
|
82
|
-
|
|
83
|
-
1. [OpenLayers API](http://client.snanyun.com:8899/api/openlayers/index.html)
|
|
84
|
-
1. [MapboxGL API](http://client.snanyun.com:8899/api/mapboxgl/index.html)
|
|
50
|
+
**更新说明:**
|
|
85
51
|
|
|
86
|
-
|
|
52
|
+
- 维护更新,修复若干 Bug
|
|
87
53
|
|
|
88
|
-
|
|
54
|
+
|
|
55
|
+
### V15.6.0
|
|
89
56
|
|
|
90
|
-
|
|
57
|
+
**更新说明:**
|
|
91
58
|
|
|
92
|
-
|
|
93
|
-
|:---|:---|:---|
|
|
94
|
-
|turfjs|https://npmcdn.com/@turf/turf/turf.min.js|import * as turf from '@turf/turf'|
|
|
59
|
+
- 维护更新,修复若干 Bug
|
|
95
60
|
|
|
96
|
-
|
|
61
|
+
|
|
62
|
+
### V15.4.0
|
|
63
|
+
- 维护更新,修复若干 Bug
|
|
97
64
|
|
|
98
|
-
|
|
99
|
-
|
|
65
|
+
|
|
66
|
+
### V15.2.0
|
|
100
67
|
|
|
101
|
-
|
|
68
|
+
**更新说明:**
|
|
102
69
|
|
|
103
|
-
|
|
70
|
+
1. 功能新增
|
|
71
|
+
- 新增直接支持 ArcGIS 地图服务与 OGC 服务;
|
|
72
|
+
- 新增 PostGIS 支持,可实现基于 PostGIS 的数据查询统计、实时矢量瓦片等功能;
|
|
73
|
+
- 新增支持 ElasticSearch 的分布式大数据搜索与分析能力,可实现热力分析、聚类分析等功能。
|
|
104
74
|
|
|
105
|
-
|
|
75
|
+
2. 站点维护
|
|
76
|
+
- 示例说明文档美化
|
|
106
77
|
|
|
107
|
-
|
|
108
|
-
2. `cd` 进入 `WebClient-JavaScript-Plugin` 文件夹
|
|
109
|
-
3.安装 [`package.json`](https://github.com/ParnDeedlit/WebClient-JavaScript-Plugin/blob/master/package.json) 所需依赖 `npm install`
|
|
110
|
-
4. 执行命令 `npm run mapbox-cmj` 编译通用的commonjs版本的mapboxgl-plugin插件js,生成的js文件保存到 `dist` 文件夹下.
|
|
111
|
-
5. 拷贝编译好的`webclient-mapboxgl-plugins.cmj.min.js`文件单独使用
|
|
112
|
-
6. 将你自己的修改提交到远程仓库[pull request](https://help.github.com/articles/creating-a-pull-request)
|
|
78
|
+
|
|
113
79
|
|
|
114
|
-
### 依赖
|
|
115
80
|
|
|
116
|
-
|
|
117
|
-
* [Leaflet](http://leafletjs.com) version 1.0+
|
|
118
|
-
* webclient-openlayers-plugin.js [5.0+](https://openlayers.org/) ([CDN链接](https://cdn.rawgit.com/openlayers/openlayers.github.io/master/en/v5.3.0/build/ol.js))
|
|
119
|
-
* [OpenLayers](https://openlayers.org/) version 5.0+
|
|
120
|
-
* webclient-mapboxgl-plugin.js [0.50+]() ([CDN链接](https://github.com/mapbox/mapbox-gl-js/releases))
|
|
121
|
-
* [MapboxGL](https://docs.mapbox.com/mapbox-gl-js/api/) version 0.50+
|
|
81
|
+
### V15.0.0
|
|
122
82
|
|
|
83
|
+
**更新说明:**
|
|
123
84
|
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
1. release分支, 一月一次大的版本更新10.3.0.20190101 -> 10.3.1.20190201
|
|
130
|
-
1. cd leaflet root path & npm publish --access public
|
|
131
|
-
|
|
132
|
-
### 贡献方式
|
|
133
|
-
|
|
134
|
-
请参考 [guidelines for contributing](https://github.com/Esri/esri-leaflet/blob/master/CONTRIBUTING.md).
|
|
135
|
-
|
|
136
|
-
### 团队
|
|
137
|
-
|
|
138
|
-
* 创新中心 [DataStore]()
|
|
139
|
-
* IGserver-X [IGserver-X]()
|
|
140
|
-
* IGServer-S [IGserver-S]()
|
|
141
|
-
|
|
142
|
-
```js
|
|
143
|
-
L.zondy.EchartsLayer(map, option).addTo(map);
|
|
144
|
-
```
|
|
145
|
-
|
|
146
|
-
### 证书
|
|
147
|
-
|
|
148
|
-
Copyright © 2014-2019 MapGIS
|
|
149
|
-
|
|
150
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
151
|
-
you may not use this file except in compliance with the License.
|
|
152
|
-
You may obtain a copy of the License at
|
|
153
|
-
|
|
154
|
-
> http://www.apache.org/licenses/LICENSE-2.0
|
|
155
|
-
|
|
156
|
-
Unless required by applicable law or agreed to in writing, software
|
|
157
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
158
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
159
|
-
See the License for the specific language governing permissions and
|
|
160
|
-
limitations under the License.
|
|
161
|
-
|
|
162
|
-
A copy of the license is available in the repository's [LICENSE](./LICENSE) file.
|
|
85
|
+
- 全面整合了 MapboxGL 等脚本库,代码模块化,采用最新的 JavaScript ES6 标准;
|
|
86
|
+
- 提供 MapboxGL 开发库、示例、API,支持基于 MapboxGL 的二维数据可视化(含 OGC、MapGIS 地图服务、第三方地图服务等)、量算、查询编辑、空间分析、专题图,以及大数据可视化与分析等功能;
|
|
87
|
+
- 新增集成 Echarts、Echarts GI、MapV 可视化库,支持在 Web 三维模式下实现大数据可视化、大数据分析功能;
|
|
88
|
+
- 新增集成 Turf.js 客户端空间分析库,提供客户端空间计算能力,支持实现在客户端层的空间分析、拓扑分析、空间关系计算等功能;
|
|
89
|
+
- MapboxGL 示例全面优化,提供配套示例说明文档与 API。
|