Skip to content

Commit

Permalink
v1.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
MikesWei committed Oct 20, 2021
1 parent 270cb8e commit 44c97a0
Show file tree
Hide file tree
Showing 1,065 changed files with 303,387 additions and 181,840 deletions.
Binary file modified .DS_Store
Binary file not shown.
15 changes: 14 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
node_modules/
.git/
.vs/
*.sln
*.sln
Assets/
build/
Document/
example/
ThirdParty/
src-old
screenshot*.jpg
screenshot*.png
Web.config
.gitignore
appConfig.js
index.html
requirejs.config.js
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"liveServer.settings.port": 5501
}
Binary file added Assets/.DS_Store
Binary file not shown.
Binary file added Assets/Data/.DS_Store
Binary file not shown.
932 changes: 932 additions & 0 deletions Assets/Data/json/china_province.geojson

Large diffs are not rendered by default.

Binary file added Assets/Data/shp/.DS_Store
Binary file not shown.
41 changes: 0 additions & 41 deletions CesiumVectorTile.sln

This file was deleted.

Binary file added Document/.DS_Store
Binary file not shown.
4 changes: 2 additions & 2 deletions Document/Cesium.VectorLayer.html
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,10 @@ <h6>Properties</h6>
<span class="param-type">Object</span>
|

<span class="param-type">Array.&lt;MeteoLib.Util.Contour.PolyLine></span>
<span class="param-type">Array.&lt;Cesium.Util.Contour.PolyLine></span>
|

<span class="param-type">Array.&lt;MeteoLib.Util.Contour.Polygon></span>
<span class="param-type">Array.&lt;Cesium.Util.Contour.Polygon></span>



Expand Down
2 changes: 1 addition & 1 deletion Document/Cesium.VectorRenderer.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ <h4 class="name" id="VectorRenderer"><span class="type-signature"></span>new Vec


<div class="description">
矢量渲染器,支持esri shapefile、geojson文件,也可以直接加载geojson对象或MeteoLib.Contour.Polygon、MeteoLib.Contour.Polyline集合
矢量渲染器,支持esri shapefile、geojson文件,也可以直接加载geojson对象或MeteoLib.Contour.Polygon、Cesium.Contour.Polyline集合
</div>


Expand Down
10 changes: 5 additions & 5 deletions Document/Cesium.VectorTileImageryProvider.html
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ <h6>Properties</h6>
<span class="param-type">Object</span>
|

<span class="param-type">Array.&lt;(MeteoLib.Util.Contour.PolyLine|MeteoLib.Util.Contour.Polygon|<a href="File.html">File</a>)></span>
<span class="param-type">Array.&lt;(Cesium.Util.Contour.PolyLine|Cesium.Util.Contour.Polygon|<a href="File.html">File</a>)></span>



Expand All @@ -173,7 +173,7 @@ <h6>Properties</h6>
</td>


<td class="description last">MeteoLib.Util.Contour.PolyLine及MeteoLib.Util.Contour.Polygon数组、矢量文件url、矢量文件列表或者geojson对象</td>
<td class="description last">Cesium.Util.Contour.PolyLine及MeteoLib.Util.Contour.Polygon数组、矢量文件url、矢量文件列表或者geojson对象</td>
</tr>


Expand All @@ -186,7 +186,7 @@ <h6>Properties</h6>
<td class="type">


<span class="param-type">MeteoLib.Render.VectorStyle</span>
<span class="param-type">Cesium.VectorStyle</span>



Expand All @@ -207,7 +207,7 @@ <h6>Properties</h6>

<td class="default">

MeteoLib.Render.VectorStyle.Default
Cesium.VectorStyle.Default

</td>

Expand Down Expand Up @@ -1613,7 +1613,7 @@ <h5>Parameters:</h5>
<td class="type">


<span class="param-type">MeteoLib.Render.VectorStyle</span>
<span class="param-type">Cesium.VectorStyle</span>



Expand Down
22 changes: 11 additions & 11 deletions Document/CesiumVectorTile.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -32817,7 +32817,7 @@ <h1 class="page-title">Source: CesiumVectorTile.js</h1>
/**
* 提供shapefile格式矢量文件解析相关工具
*@class shp
*@memberof MeteoLib.Util
*@memberof Cesium.Util
*/

/**
Expand All @@ -32827,7 +32827,7 @@ <h1 class="page-title">Source: CesiumVectorTile.js</h1>
* @method
* @name groupFiles
* @static
* @memberof MeteoLib.Util.shp
* @memberof Cesium.Util.shp
*/
shp.groupFiles = function (files) {
var shpFile, dbfFile, prjFile;
Expand All @@ -32848,7 +32848,7 @@ <h1 class="page-title">Source: CesiumVectorTile.js</h1>
* @method
* @name parseShpFiles
* @static
* @memberof MeteoLib.Util.shp
* @memberof Cesium.Util.shp
*/

shp.parseShpFiles = function (files, toTopojson) {
Expand Down Expand Up @@ -33142,7 +33142,7 @@ <h1 class="page-title">Source: CesiumVectorTile.js</h1>
/**
*
*@param {Object} options
*@param {String|turf.FeatureCollection|Object|Array&lt;MeteoLib.Util.Contour.PolyLine>|Array&lt;MeteoLib.Util.Contour.Polygon>}options.source 矢量文件url或者geojson对象
*@param {String|turf.FeatureCollection|Object|Array&lt;Cesium.Util.Contour.PolyLine>|Array&lt;Cesium.Util.Contour.Polygon>}options.source 矢量文件url或者geojson对象
*@param {Cesium.VectorStyle}[options.style=new VectorStyle()] 矢量文件url或者geojson对象
*@param {Boolean}[options.simplify=false] true则简化,默认不简化
*@param {Boolean}[options.simplifyTolerance=0.01] 简化公差
Expand Down Expand Up @@ -33402,7 +33402,7 @@ <h1 class="page-title">Source: CesiumVectorTile.js</h1>
/**
* 提供shapefile格式矢量文件解析相关工具
*@class shp
*@memberof MeteoLib.Util
*@memberof Cesium.Util
*/

/**
Expand All @@ -33412,7 +33412,7 @@ <h1 class="page-title">Source: CesiumVectorTile.js</h1>
* @method
* @name groupFiles
* @static
* @memberof MeteoLib.Util.shp
* @memberof Cesium.Util.shp
*/
shp.groupFiles = function (files) {
var shpFile, dbfFile, prjFile;
Expand All @@ -33433,7 +33433,7 @@ <h1 class="page-title">Source: CesiumVectorTile.js</h1>
* @method
* @name parseShpFiles
* @static
* @memberof MeteoLib.Util.shp
* @memberof Cesium.Util.shp
*/

shp.parseShpFiles = function (files, toTopojson) {
Expand Down Expand Up @@ -39902,7 +39902,7 @@ <h1 class="page-title">Source: CesiumVectorTile.js</h1>


/**
*矢量渲染器,支持esri shapefile、geojson文件,也可以直接加载geojson对象或MeteoLib.Contour.Polygon、MeteoLib.Contour.Polyline集合
*矢量渲染器,支持esri shapefile、geojson文件,也可以直接加载geojson对象或MeteoLib.Contour.Polygon、Cesium.Contour.Polyline集合
*@param {Object}options 参数如下:
*@param {Object}options.width
*@param {Object}options.height
Expand Down Expand Up @@ -40592,8 +40592,8 @@ <h1 class="page-title">Source: CesiumVectorTile.js</h1>
* &lt;li>&lt;a href="https://mikeswei.github.io/CesiumVectorTile/" target="_blank">VectorTileImageryProviderDemo&lt;/a>&lt;/li>
* &lt;/ul>
*@param {Object}options 参数如下:
*@param {String|turf.FeatureCollection|Object|Array&lt;MeteoLib.Util.Contour.PolyLine|MeteoLib.Util.Contour.Polygon|File>}options.source MeteoLib.Util.Contour.PolyLine及MeteoLib.Util.Contour.Polygon数组、矢量文件url、矢量文件列表或者geojson对象
*@param {MeteoLib.Render.VectorStyle}[options.defaultStyle=MeteoLib.Render.VectorStyle.Default] 默认样式
*@param {String|turf.FeatureCollection|Object|Array&lt;Cesium.Util.Contour.PolyLine|Cesium.Util.Contour.Polygon|File>}options.source Cesium.Util.Contour.PolyLine及MeteoLib.Util.Contour.Polygon数组、矢量文件url、矢量文件列表或者geojson对象
*@param {Cesium.VectorStyle}[options.defaultStyle=Cesium.VectorStyle.Default] 默认样式
*@param {Boolean}[options.simplify=false] true则简化,默认不简化
*@param {Boolean}[options.simplifyTolerance=0.01] 简化公差
*@param {Boolean}[options.minimumLevel=3] 最小级别
Expand Down Expand Up @@ -40927,7 +40927,7 @@ <h1 class="page-title">Source: CesiumVectorTile.js</h1>
*样式设置函数
*@callback Cesium.VectorTileImageryProvider~StyleFilterCallback
*@param {Geojson.Feature}feature 当前要素(用Geojson.Feature存储)
*@param {MeteoLib.Render.VectorStyle}style 即将应用与当前要素的样式,可以通过修改该参数中的各样式设置选项来针对当前要素进行特殊的样式设置。
*@param {Cesium.VectorStyle}style 即将应用与当前要素的样式,可以通过修改该参数中的各样式设置选项来针对当前要素进行特殊的样式设置。
*修改后只对当前要素有效,不会修改Cesium.VectorTileImageryProvider的默认样式
*@example
*/
Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,13 @@ npm 安装
* [geojson-topojson](https://github.com/JeffPaine/geojson-topojson)
##### 更新

###### 2020.04.15
* 1、增加TypeScript定义CesiumVectorTile.d.ts;

###### 2020.03.17
* 1、支持leaflet(仅支持EPSG4326);
* 2、解决与第三方库(如Vue)结合的一些问题。

###### 2019.06.03
* 1、支持要素查询:增加构造函数可选参数allowPick,事件featuresPicked

Expand Down
1 change: 0 additions & 1 deletion ThirdParty/Cesium/Assets/IAU2006_XYS/IAU2006_XYS_0.json

This file was deleted.

1 change: 0 additions & 1 deletion ThirdParty/Cesium/Assets/IAU2006_XYS/IAU2006_XYS_1.json

This file was deleted.

1 change: 0 additions & 1 deletion ThirdParty/Cesium/Assets/IAU2006_XYS/IAU2006_XYS_10.json

This file was deleted.

1 change: 0 additions & 1 deletion ThirdParty/Cesium/Assets/IAU2006_XYS/IAU2006_XYS_11.json

This file was deleted.

1 change: 0 additions & 1 deletion ThirdParty/Cesium/Assets/IAU2006_XYS/IAU2006_XYS_12.json

This file was deleted.

1 change: 0 additions & 1 deletion ThirdParty/Cesium/Assets/IAU2006_XYS/IAU2006_XYS_15.json

This file was deleted.

1 change: 0 additions & 1 deletion ThirdParty/Cesium/Assets/IAU2006_XYS/IAU2006_XYS_16.json

This file was deleted.

1 change: 0 additions & 1 deletion ThirdParty/Cesium/Assets/IAU2006_XYS/IAU2006_XYS_17.json

This file was deleted.

1 change: 0 additions & 1 deletion ThirdParty/Cesium/Assets/IAU2006_XYS/IAU2006_XYS_18.json

This file was deleted.

1 change: 0 additions & 1 deletion ThirdParty/Cesium/Assets/IAU2006_XYS/IAU2006_XYS_19.json

This file was deleted.

1 change: 0 additions & 1 deletion ThirdParty/Cesium/Assets/IAU2006_XYS/IAU2006_XYS_2.json

This file was deleted.

1 change: 0 additions & 1 deletion ThirdParty/Cesium/Assets/IAU2006_XYS/IAU2006_XYS_20.json

This file was deleted.

1 change: 0 additions & 1 deletion ThirdParty/Cesium/Assets/IAU2006_XYS/IAU2006_XYS_21.json

This file was deleted.

1 change: 0 additions & 1 deletion ThirdParty/Cesium/Assets/IAU2006_XYS/IAU2006_XYS_22.json

This file was deleted.

1 change: 0 additions & 1 deletion ThirdParty/Cesium/Assets/IAU2006_XYS/IAU2006_XYS_23.json

This file was deleted.

1 change: 0 additions & 1 deletion ThirdParty/Cesium/Assets/IAU2006_XYS/IAU2006_XYS_24.json

This file was deleted.

1 change: 0 additions & 1 deletion ThirdParty/Cesium/Assets/IAU2006_XYS/IAU2006_XYS_25.json

This file was deleted.

1 change: 0 additions & 1 deletion ThirdParty/Cesium/Assets/IAU2006_XYS/IAU2006_XYS_26.json

This file was deleted.

1 change: 0 additions & 1 deletion ThirdParty/Cesium/Assets/IAU2006_XYS/IAU2006_XYS_27.json

This file was deleted.

1 change: 0 additions & 1 deletion ThirdParty/Cesium/Assets/IAU2006_XYS/IAU2006_XYS_3.json

This file was deleted.

1 change: 0 additions & 1 deletion ThirdParty/Cesium/Assets/IAU2006_XYS/IAU2006_XYS_4.json

This file was deleted.

1 change: 0 additions & 1 deletion ThirdParty/Cesium/Assets/IAU2006_XYS/IAU2006_XYS_5.json

This file was deleted.

1 change: 0 additions & 1 deletion ThirdParty/Cesium/Assets/IAU2006_XYS/IAU2006_XYS_7.json

This file was deleted.

1 change: 0 additions & 1 deletion ThirdParty/Cesium/Assets/IAU2006_XYS/IAU2006_XYS_8.json

This file was deleted.

1 change: 0 additions & 1 deletion ThirdParty/Cesium/Assets/IAU2006_XYS/IAU2006_XYS_9.json

This file was deleted.

1 change: 0 additions & 1 deletion ThirdParty/Cesium/Assets/approximateTerrainHeights.json

This file was deleted.

Loading

0 comments on commit 44c97a0

Please sign in to comment.