Skip to content

Commit 0327a89

Browse files
author
潘卓然-中地数码台式机
committed
新增Mapbox&WebGL直接绘制的示例
1 parent 204baaf commit 0327a89

16 files changed

Lines changed: 1474 additions & 142 deletions

File tree

config/config-mapboxgl.js

Lines changed: 67 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ var config = {
7171
detail: "测试基本的全屏功能",
7272
icon: "fullscreen.png",
7373
update: "最后更新时间:2018-06-13"
74-
}/* ,
74+
} /* ,
7575
{
7676
name: "鹰眼控件",
7777
file: "minimap",
@@ -191,8 +191,8 @@ var config = {
191191
diffcult: "3",
192192
detail: "地图整饰打印输出",
193193
icon: "customprint.png",
194-
person:"基础平台/创新中心-潘卓然",
195-
effect:"如果需要经纬度网格,请调用igserver服务",
194+
person: "基础平台/创新中心-潘卓然",
195+
effect: "如果需要经纬度网格,请调用igserver服务",
196196
update: "最后更新时间:2018-12-27"
197197
}
198198
]
@@ -438,14 +438,6 @@ var config = {
438438
icon: "background.png",
439439
update: "最后更新时间:2018-06-07"
440440
}
441-
/* ,{
442-
name: "显卡绘制-WebGL",
443-
file: "webgl",
444-
diffcult: "3",
445-
detail: "",
446-
icon: "webgl.png",
447-
update: "最后更新时间:2018-12-18"
448-
} */
449441
]
450442
},
451443
{
@@ -534,6 +526,38 @@ var config = {
534526
update: "最后更新时间:2018-05-10"
535527
}
536528
]
529+
},
530+
{
531+
name: "WebGL",
532+
materialicon: "bubble_chart",
533+
folder: "webgl",
534+
leaffolder: true,
535+
childs: [
536+
{
537+
name: "基本绘制",
538+
file: "base",
539+
diffcult: "1",
540+
detail: "通过webgl直接绘制的方式,基本绘制",
541+
icon: "base.png",
542+
update: "最后更新时间:2018-01-08"
543+
},
544+
{
545+
name: "平移绘制",
546+
file: "move",
547+
diffcult: "1",
548+
detail: "通过webgl直接绘制的方式,平移绘制",
549+
icon: "move.png",
550+
update: "最后更新时间:2018-01-08"
551+
},
552+
{
553+
name: "旋转绘制",
554+
file: "rotate",
555+
diffcult: "1",
556+
detail: "通过webgl直接绘制的方式,旋转绘制",
557+
icon: "rotate.png",
558+
update: "最后更新时间:2018-01-08"
559+
}
560+
]
537561
}
538562
]
539563
},
@@ -1966,6 +1990,38 @@ var config = {
19661990
update: "最后更新时间:2018-06-27"
19671991
}
19681992
]
1993+
},
1994+
{
1995+
name: "军标数据",
1996+
materialicon: "search",
1997+
folder: "military",
1998+
leaffolder: true,
1999+
childs: [
2000+
{
2001+
name: "mapv-方向旋转",
2002+
file: "direction",
2003+
diffcult: "2",
2004+
detail: "采取mapv画布处理旋转操作",
2005+
icon: "direction.png",
2006+
update: "最后更新时间:2018-12-29"
2007+
},
2008+
{
2009+
name: "内置-方向旋转",
2010+
file: "rotate",
2011+
diffcult: "2",
2012+
detail: "采取内置rotate属性,通过映射处理旋转操作",
2013+
icon: "rotate.png",
2014+
update: "最后更新时间:2018-12-29"
2015+
},
2016+
{
2017+
name: "电力线",
2018+
file: "line",
2019+
diffcult: "3",
2020+
detail: "通过webgl直接绘制的方式,显示电力线绘制",
2021+
icon: "line.png",
2022+
update: "最后更新时间:2018-01-02"
2023+
}
2024+
]
19692025
}
19702026
]
19712027
};

demo/mapbox/example/geometry/graphic/webgl.htm

Lines changed: 0 additions & 131 deletions
This file was deleted.

0 commit comments

Comments
 (0)