Skip to content

Commit c1206e5

Browse files
committed
新增openlayers echarts相关示例。review by songyumeng.
1 parent 39e32b9 commit c1206e5

18 files changed

+1481
-1
lines changed

dist/include-openlayers.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
var excludes = (targetScript.getAttribute('exclude') || "").split(",");
3838
if (!inArray(excludes, 'ol')) {
3939
inputCSS("https://cdn.bootcss.com/openlayers/4.6.4/ol.css");
40-
inputScript("https://cdn.bootcss.com/openlayers/4.6.4/ol-debug.js");
40+
inputScript("https://cdn.bootcss.com/openlayers/4.6.4/ol.js");
4141
}
4242
if (inArray(includes, 'mapv')) {
4343
inputScript("http://mapv.baidu.com/build/mapv.min.js");
@@ -54,6 +54,9 @@
5454
if (inArray(includes, 'echarts')) {
5555
inputScript("http://cdn.bootcss.com/echarts/3.8.5/echarts.min.js");
5656
}
57+
if (inArray(includes, 'ol3-echarts')) {
58+
inputScript("https://cdn.jsdelivr.net/npm/ol3-echarts/dist/ol3Echarts.js");
59+
}
5760
if (inArray(includes, 'osmbuildings')) {
5861
inputScript("http://iclient.supermap.io/libs/osmbuildings/OSMBuildings-OL3.js");
5962
}

examples/openlayers/config.js

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -567,6 +567,55 @@ var exampleConfig = {
567567
name_en: "pie chart",
568568
thumbnail: "ol_echartsPie.png",
569569
fileName: "echartsPie"
570+
},
571+
{
572+
name: "全国空气质量图",
573+
name_en: "ECharts",
574+
thumbnail: "ol_echartsEffectScatter.png",
575+
fileName: "echartsEffectScatter"
576+
},
577+
{
578+
name: "迁徙图",
579+
name_en: "Mock migration",
580+
thumbnail: "ol_echartsGeoLines.gif",
581+
fileName: "echartsGeoLines"
582+
},
583+
{
584+
name: "热力图",
585+
name_en: "heat map",
586+
thumbnail: "ol_echartsHeatmap.png",
587+
fileName: "echartsHeatmap"
588+
},
589+
{
590+
name: "线路图",
591+
name_en: "line",
592+
thumbnail: "ol_echartsLinesBus.png",
593+
fileName: "echartsLinesBus"
594+
},
595+
{
596+
name: "线特效",
597+
name_en: "line effect",
598+
thumbnail: "ol_echartsLinesEffect.gif",
599+
fileName: "echartsLinesEffect"
600+
},
601+
{
602+
name: "世界飞机航线图",
603+
name_en: "Airplane route map",
604+
thumbnail: "ol_echartsLinesAirline.png",
605+
fileName: "echartsLinesAirline"
606+
},
607+
{
608+
name: "微博签到图",
609+
name_en: "scatter of Weibo user",
610+
thumbnail: "ol_echartsScatterWeibo.png",
611+
fileName: "echartsScatterWeibo"
612+
},
613+
614+
{
615+
name: "格网图",
616+
name_en: "cell map",
617+
thumbnail: "ol_echartsCellMap.png",
618+
fileName: "echartsCellMap"
570619
}
571620
]
572621
},

examples/openlayers/echartsCellMap.html

Lines changed: 130 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy