@mapgis/webclient-common 17.2.1 → 17.2.2
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 +10 -2
- package/dist/es5/webclient-common.min.js +2 -2
- package/dist/webclient-common-es6.min.js +2 -2
- package/documention/BaseScene.html +7577 -0
- package/documention/Cesium3DTilesCacheLayer.html +2 -2
- package/documention/Collection.html +198 -4
- package/documention/IGSMapImageLayer.html +1 -3
- package/documention/IGSVectorTileLayer.html +1 -34
- package/documention/ISScene.html +1336 -0
- package/documention/ISSceneLayer.html +2028 -0
- package/documention/ISSceneServer.html +2234 -0
- package/documention/ISSceneSubLayer.html +3356 -0
- package/documention/PointSymbol3D.html +1 -1
- package/documention/S3MTilesCacheLayer.html +7726 -0
- package/documention/SketchEditorVideo.html +2 -2
- package/documention/SketchEditorVideoBase.html +3 -3
- package/documention/VideoMapView.html +4 -4
- package/documention/index.html +1 -1
- package/package.json +1 -1
|
@@ -1843,8 +1843,8 @@ view.on({
|
|
|
1843
1843
|
|
|
1844
1844
|
|
|
1845
1845
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
1846
|
-
const { SimpleFillSymbol, SimpleLineSymbol } =
|
|
1847
|
-
const { Color, SketchStyle } =
|
|
1846
|
+
const { SimpleFillSymbol, SimpleLineSymbol } = Zondy.Symbol
|
|
1847
|
+
const { Color, SketchStyle } = Zondy
|
|
1848
1848
|
// ES6引入方式
|
|
1849
1849
|
import { SimpleFillSymbol, SimpleLineSymbol, Color, SketchStyle } from "@mapgis/webclient-common"
|
|
1850
1850
|
// 新建一个填充样式
|
|
@@ -218,7 +218,7 @@
|
|
|
218
218
|
|
|
219
219
|
|
|
220
220
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
221
|
-
const { SketchEditorVideo } =
|
|
221
|
+
const { SketchEditorVideo } = Zondy
|
|
222
222
|
// ES6引入方式
|
|
223
223
|
import { SketchEditorVideo } from "@mapgis/webclient-common"
|
|
224
224
|
// 新建一个草图编辑器,传入视频地图mapview
|
|
@@ -1827,8 +1827,8 @@ view.on({
|
|
|
1827
1827
|
|
|
1828
1828
|
|
|
1829
1829
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
1830
|
-
const { SimpleFillSymbol, SimpleLineSymbol } =
|
|
1831
|
-
const { Color, SketchStyle } =
|
|
1830
|
+
const { SimpleFillSymbol, SimpleLineSymbol } = Zondy.Symbol
|
|
1831
|
+
const { Color, SketchStyle } = Zondy
|
|
1832
1832
|
// ES6引入方式
|
|
1833
1833
|
import { SimpleFillSymbol, SimpleLineSymbol, Color, SketchStyle } from "@mapgis/webclient-common"
|
|
1834
1834
|
// 新建一个填充样式
|
|
@@ -266,7 +266,7 @@
|
|
|
266
266
|
|
|
267
267
|
|
|
268
268
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
269
|
-
const { Map, VideoMapView } =
|
|
269
|
+
const { Map, VideoMapView } = Zondy
|
|
270
270
|
// ES6引入方式
|
|
271
271
|
import { Map, VideoMapView } from "@mapgis/webclient-common"
|
|
272
272
|
// 新建一个map容器
|
|
@@ -684,7 +684,7 @@ videoMapView.init(data)</code></pre>
|
|
|
684
684
|
|
|
685
685
|
|
|
686
686
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
687
|
-
const { Point } =
|
|
687
|
+
const { Point } = Zondy.Geometry
|
|
688
688
|
// ES6引入方式
|
|
689
689
|
import { Point } from "@mapgis/webclient-common"
|
|
690
690
|
const pixelCoord = videoMapView.geoCoordToPixelCoord(new Point({ coordinates: [longitude, latitude] }))</code></pre>
|
|
@@ -864,7 +864,7 @@ const pixelCoord = videoMapView.geoCoordToPixelCoord(new Point({ coordinates: [l
|
|
|
864
864
|
|
|
865
865
|
|
|
866
866
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
867
|
-
const { Map, VideoMapView } =
|
|
867
|
+
const { Map, VideoMapView } = Zondy
|
|
868
868
|
// ES6引入方式
|
|
869
869
|
import { Map, VideoMapView } from "@mapgis/webclient-common"
|
|
870
870
|
// 新建一个map容器
|
|
@@ -1092,7 +1092,7 @@ videoMapView.init(mockData)</code></pre>
|
|
|
1092
1092
|
|
|
1093
1093
|
|
|
1094
1094
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
1095
|
-
const { Point } =
|
|
1095
|
+
const { Point } = Zondy.Geometry
|
|
1096
1096
|
// ES6引入方式
|
|
1097
1097
|
import { Point } from "@mapgis/webclient-common"
|
|
1098
1098
|
const geoCoord = videoMapView.pixelCoordToGeoCoord(new Point({ coordinates: [0, 0] }))</code></pre>
|