@mapgis/webclient-mapboxgl-plugin 17.6.11 → 17.6.18

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.
@@ -290,13 +290,13 @@ import { MapView } from '@mapgis/webclient-mapboxgl-plugin' <br/></p>
290
290
 
291
291
  <tr class="deep-level-1">
292
292
 
293
- <td class="name"><code>spatialReference</code></td>
293
+ <td class="name"><code>innerView</code></td>
294
294
 
295
295
 
296
296
  <td class="type">
297
297
 
298
298
 
299
- <span class="param-type">SpatialReference</span>
299
+ <span class="param-type">Object</span>
300
300
 
301
301
 
302
302
 
@@ -308,7 +308,7 @@ import { MapView } from '@mapgis/webclient-mapboxgl-plugin' <br/></p>
308
308
  </td>
309
309
 
310
310
 
311
- <td class="description last"><p>视图空间参考系</p></td>
311
+ <td class="description last"><p>实际的mapbox-gl引擎对应地图对象</p></td>
312
312
  </tr>
313
313
 
314
314
 
@@ -316,13 +316,13 @@ import { MapView } from '@mapgis/webclient-mapboxgl-plugin' <br/></p>
316
316
 
317
317
  <tr class="deep-level-1">
318
318
 
319
- <td class="name"><code>zoom</code></td>
319
+ <td class="name"><code>spatialReference</code></td>
320
320
 
321
321
 
322
322
  <td class="type">
323
323
 
324
324
 
325
- <span class="param-type">Number</span>
325
+ <span class="param-type">SpatialReference</span>
326
326
 
327
327
 
328
328
 
@@ -331,12 +331,10 @@ import { MapView } from '@mapgis/webclient-mapboxgl-plugin' <br/></p>
331
331
 
332
332
  <td class="default">
333
333
 
334
- 0
335
-
336
334
  </td>
337
335
 
338
336
 
339
- <td class="description last"><p>初始化二维场景视图时显示级数</p></td>
337
+ <td class="description last"><p>视图空间参考系</p></td>
340
338
  </tr>
341
339
 
342
340
 
@@ -362,7 +360,7 @@ import { MapView } from '@mapgis/webclient-mapboxgl-plugin' <br/></p>
362
360
  </td>
363
361
 
364
362
 
365
- <td class="description last"><p>地图视图中心点。如果有中心点,看是否存在zoom/scale,使用center和zoom/scale定位(同时设置scale和zoom时,scale优先于zoom),否则默认zoom为到第0级。如果没有设置center,但设置了extent,则以extent定位。</p></td>
363
+ <td class="description last"><p>地图视图中心点。如果有中心点,看是否存在zoom/scale,使用center和zoom/scale定位(同时设置scale和zoom时,scale优先于zoom),否则默认scale为36978669.4318207;如果没有设置center,并且也没有设置extent,则以center = new Point({coordinates:[105.1250000000032,24.427133220306196]}) 定位;如果没有设置center,但设置了extent,则以extent定位。</p></td>
366
364
  </tr>
367
365
 
368
366
 
@@ -370,13 +368,13 @@ import { MapView } from '@mapgis/webclient-mapboxgl-plugin' <br/></p>
370
368
 
371
369
  <tr class="deep-level-1">
372
370
 
373
- <td class="name"><code>extent</code></td>
371
+ <td class="name"><code>scale</code></td>
374
372
 
375
373
 
376
374
  <td class="type">
377
375
 
378
376
 
379
- <span class="param-type">Extent</span>
377
+ <span class="param-type">Number</span>
380
378
 
381
379
 
382
380
 
@@ -388,7 +386,7 @@ import { MapView } from '@mapgis/webclient-mapboxgl-plugin' <br/></p>
388
386
  </td>
389
387
 
390
388
 
391
- <td class="description last"><p>地图视图初始所在的范围。如果没有设置center,但设置extent了,则地图视图定位到extent范围内。</p></td>
389
+ <td class="description last"><p>地图视图比例尺(比例尺的分母)。如果scale、zoom、extent都未设置,那么初始化scale默认scale为36978669.4318207。</p></td>
392
390
  </tr>
393
391
 
394
392
 
@@ -396,7 +394,7 @@ import { MapView } from '@mapgis/webclient-mapboxgl-plugin' <br/></p>
396
394
 
397
395
  <tr class="deep-level-1">
398
396
 
399
- <td class="name"><code>scale</code></td>
397
+ <td class="name"><code>zoom</code></td>
400
398
 
401
399
 
402
400
  <td class="type">
@@ -414,7 +412,33 @@ import { MapView } from '@mapgis/webclient-mapboxgl-plugin' <br/></p>
414
412
  </td>
415
413
 
416
414
 
417
- <td class="description last"><p>地图视图比例尺(比例尺的分母)</p></td>
415
+ <td class="description last"><p>地图视图层级</p></td>
416
+ </tr>
417
+
418
+
419
+
420
+
421
+ <tr class="deep-level-1">
422
+
423
+ <td class="name"><code>extent</code></td>
424
+
425
+
426
+ <td class="type">
427
+
428
+
429
+ <span class="param-type">Extent</span>
430
+
431
+
432
+
433
+ </td>
434
+
435
+
436
+ <td class="default">
437
+
438
+ </td>
439
+
440
+
441
+ <td class="description last"><p>场景视图初始所在的范围。如果没有设置center,但设置extent了,则地图视图定位到extent范围内。</p></td>
418
442
  </tr>
419
443
 
420
444
 
@@ -575,6 +599,34 @@ import { MapView } from '@mapgis/webclient-mapboxgl-plugin' <br/></p>
575
599
 
576
600
 
577
601
 
602
+
603
+ <tr class="deep-level-1">
604
+
605
+ <td class="name"><code>initialGoTo</code></td>
606
+
607
+
608
+ <td class="type">
609
+
610
+
611
+ <span class="param-type">Boolean</span>
612
+
613
+
614
+
615
+ </td>
616
+
617
+
618
+ <td class="default">
619
+
620
+ true
621
+
622
+ </td>
623
+
624
+
625
+ <td class="description last"><p>是否在视图构造时根据视图的center、scale、zoom、extent属性进行视图范围的设置</p></td>
626
+ </tr>
627
+
628
+
629
+
578
630
 
579
631
 
580
632
 
@@ -2915,6 +2967,34 @@ igsMapImageLayer.on('layer-view-created', function (result) {
2915
2967
 
2916
2968
 
2917
2969
 
2970
+ <tr class="deep-level-1">
2971
+
2972
+ <td class="name"><code>goToLayerMode</code></td>
2973
+
2974
+
2975
+ <td class="type">
2976
+
2977
+
2978
+ <span class="param-type">String</span>
2979
+
2980
+
2981
+
2982
+ </td>
2983
+
2984
+
2985
+ <td class="default">
2986
+
2987
+ 'extent'
2988
+
2989
+ </td>
2990
+
2991
+
2992
+ <td class="description last"><p>跳转图层的模式,仅在传入layer参数时生效。支持两种模式,'extent' 表示根据图层范围进行跳转, 'fix-level'按范围并调整到到整数级</p></td>
2993
+ </tr>
2994
+
2995
+
2996
+
2997
+
2918
2998
  <tr class="deep-level-1">
2919
2999
 
2920
3000
  <td class="name"><code>target</code></td>
@@ -3018,12 +3098,10 @@ igsMapImageLayer.on('layer-view-created', function (result) {
3018
3098
 
3019
3099
  <td class="default">
3020
3100
 
3021
- 200
3022
-
3023
3101
  </td>
3024
3102
 
3025
3103
 
3026
- <td class="description last"><p>动画的持续时间,以毫秒为单位,默认200毫秒</p></td>
3104
+ <td class="description last"><p>动画的持续时间,以毫秒为单位,默认不设置,动画表现为引擎默认动画效果</p></td>
3027
3105
  </tr>
3028
3106
 
3029
3107
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mapgis/webclient-mapboxgl-plugin",
3
- "version" : "17.6.11",
3
+ "version" : "17.6.18",
4
4
  "description": "A cloud GIS network client development platform based on MapboxGL.",
5
5
  "main": "dist/webclient-mapboxgl-plugin-es6.min.js",
6
6
  "scripts": {},