@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.
@@ -1843,8 +1843,8 @@ view.on({
1843
1843
 
1844
1844
 
1845
1845
  <pre class="prettyprint"><code>// ES5引入方式
1846
- const { SimpleFillSymbol, SimpleLineSymbol } = zondy.symbol
1847
- const { Color, SketchStyle } = zondy
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 } = zondy
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 } = zondy.symbol
1831
- const { Color, SketchStyle } = zondy
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 } = zondy
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 } = zondy.geometry
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 } = zondy
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 } = zondy.geometry
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>