Skip to content

Commit 98d7c9f

Browse files
committed
【update】更新例子和api的版本号
1 parent 49ee2a4 commit 98d7c9f

File tree

3 files changed

+17
-10
lines changed

3 files changed

+17
-10
lines changed

examples/mapboxgl/config.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -292,44 +292,44 @@ var exampleConfig = {
292292
"iPortal": {
293293
name: "iPortal",
294294
name_en: "iPortal",
295-
version: "10.x.x",
295+
version: "9.1.2",
296296
content: {
297297
"ip_map": {
298298
name: "地图",
299299
name_en: "iPortal Web map",
300-
version: "10.x.x",
300+
version: "9.1.2",
301301
content: [{
302302
name: "分段专题图",
303303
name_en: "Range",
304-
version: "10.x.x",
304+
version: "9.1.2",
305305
thumbnail: "iPortalWebmap_range.png",
306306
fileName: "iPortalWebmap_range"
307307
},
308308
{
309309
name: "单值专题图",
310310
name_en: "Unique",
311-
version: "10.x.x",
311+
version: "9.1.2",
312312
thumbnail: "iPortalWebmap_unique.png",
313313
fileName: "iPortalWebmap_unique"
314314
},
315315
{
316316
name: "标签专题图",
317317
name_en: "Label",
318-
version: "10.x.x",
318+
version: "9.1.2",
319319
thumbnail: "iPortalWebmap_label.png",
320320
fileName: "iPortalWebmap_label"
321321
},
322322
{
323323
name: "热力图",
324324
name_en: "Heat map",
325-
version: "10.x.x",
325+
version: "9.1.2",
326326
thumbnail: "iPortalWebmap_heat.png",
327327
fileName: "iPortalWebmap_heat"
328328
},
329329
{
330330
name: "点样式",
331331
name_en: "Point style",
332-
version: "10.x.x",
332+
version: "9.1.2",
333333
thumbnail: "iPortalWebmap_unicode.png",
334334
fileName: "iPortalWebmap_unicode"
335335
}]
@@ -429,7 +429,7 @@ var exampleConfig = {
429429
name: "矢量瓦片叠加",
430430
name_en: "MVT overlay",
431431
localIgnore: true,
432-
version: "10.x.x",
432+
version: "9.1.2",
433433
thumbnail: "mvtVectorTile_overlay.png",
434434
fileName: "mvtVectorTile_overlay"
435435
}

src/mapboxgl/mapping/WebMap.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,10 @@ const DEFAULT_WELLKNOWNSCALESET = ['GoogleCRS84Quad', 'GoogleMapsCompatible'];
5555
* @extends {mapboxgl.Evented}
5656
*/
5757
export class WebMap extends mapboxgl.Evented {
58-
58+
/**
59+
* @constructs
60+
* @version 9.1.2
61+
*/
5962
constructor(id, options) {
6063
super();
6164
this.mapId = id;

src/openlayers/control/ScaleLine.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ ol.supermap.control = ol.supermap.control || {};
99
/**
1010
* @class ol.supermap.control.ScaleLine
1111
* @category Control
12+
* @version 9.1.2
1213
* @classdesc 比例尺控件。
1314
* <div style="padding: 20px;border: 1px solid #eee;border-left-width: 5px;border-radius: 3px;border-left-color: #ce4844;">
1415
* <p style="color: #ce4844">Notice</p>
@@ -25,7 +26,10 @@ ol.supermap.control = ol.supermap.control || {};
2526
* map.addControl(control)
2627
*/
2728
export class ScaleLine extends ol.control.ScaleLine {
28-
29+
/**
30+
* @constructs
31+
* @version 9.1.2
32+
*/
2933
constructor(options) {
3034
options = options || {};
3135
//需在super之前定义render,真正的调用是在初始化完成后

0 commit comments

Comments
 (0)