Skip to content

Commit d719f9c

Browse files
[fix]知识图谱添加新例子 review by qiw
1 parent 8f3e44f commit d719f9c

File tree

13 files changed

+192
-1
lines changed

13 files changed

+192
-1
lines changed

examples/leaflet/config.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -568,6 +568,13 @@ var exampleConfig = {
568568
thumbnail: 'knowledgeGraphMap.png',
569569
fileName: 'knowledgeGraphMap'
570570
},
571+
{
572+
name: '不动产图谱-样式',
573+
name_en: 'Real Estate GraphMap',
574+
version: '11.1.0',
575+
thumbnail: 'knowledgeGraphMap2.png',
576+
fileName: 'knowledgeGraphMap2'
577+
},
571578
{
572579
name: '河流流经省份图谱',
573580
name_en: 'Rivers flowing through provinces GraphMap',
75.6 KB
Loading
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<!--********************************************************************
2+
* Copyright© 2000 - 2023 SuperMap Software Co.Ltd. All rights reserved.
3+
*********************************************************************-->
4+
<!--********************************************************************
5+
* 该示例需要引入
6+
* G6 (https://github.com/antvis/G6)
7+
*********************************************************************-->
8+
<!DOCTYPE html>
9+
<html>
10+
<head>
11+
<meta charset="utf-8" />
12+
<meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no" />
13+
<title data-i18n="resources.title_knowledgeGraphMap"></title>
14+
<script type="text/javascript" include="jquery" src="../js/include-web.js"></script>
15+
<style>
16+
body {
17+
margin: 0;
18+
padding: 0;
19+
width: 100%;
20+
height: 100vh;
21+
overflow: hidden;
22+
}
23+
#knowledgeGraph {
24+
width: 100%;
25+
height: 100%;
26+
}
27+
</style>
28+
</head>
29+
30+
<body>
31+
<div id="knowledgeGraph"></div>
32+
<script type="text/javascript" include="g6" src="../../dist/leaflet/include-leaflet.js"></script>
33+
<script type="text/javascript">
34+
var host = window.isLocal ? window.server : 'https://iserver.supermap.io';
35+
const graphmap = new L.supermap.GraphMap(
36+
host + '/iserver/services/knowledgeGraph-budongchan/restjsr/graph/graphmaps/多样式图谱'
37+
);
38+
</script>
39+
</body>
40+
</html>

examples/mapboxgl/config.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -510,6 +510,13 @@ var exampleConfig = {
510510
thumbnail: 'knowledgeGraphMap.png',
511511
fileName: 'knowledgeGraphMap'
512512
},
513+
{
514+
name: '不动产图谱-样式',
515+
name_en: 'Real Estate GraphMap',
516+
version: '11.1.0',
517+
thumbnail: 'knowledgeGraphMap2.png',
518+
fileName: 'knowledgeGraphMap2'
519+
},
513520
{
514521
name: '河流流经省份图谱',
515522
name_en: 'Rivers flowing through provinces GraphMap',
75.6 KB
Loading
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<!--********************************************************************
2+
* Copyright© 2000 - 2023 SuperMap Software Co.Ltd. All rights reserved.
3+
*********************************************************************-->
4+
<!--********************************************************************
5+
* 该示例需要引入
6+
* G6 (https://github.com/antvis/G6)
7+
*********************************************************************-->
8+
<!DOCTYPE html>
9+
<html>
10+
<head>
11+
<meta charset="utf-8" />
12+
<meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no" />
13+
<title data-i18n="resources.title_knowledgeGraphMap"></title>
14+
<script type="text/javascript" include="jquery" src="../js/include-web.js"></script>
15+
<style>
16+
body {
17+
margin: 0;
18+
padding: 0;
19+
width: 100%;
20+
height: 100vh;
21+
overflow: hidden;
22+
}
23+
24+
#knowledgeGraph {
25+
width: 100%;
26+
height: 100%;
27+
}
28+
</style>
29+
</head>
30+
31+
<body>
32+
<div id="knowledgeGraph"></div>
33+
<script type="text/javascript" include="g6" src="../../dist/mapboxgl/include-mapboxgl.js"></script>
34+
<script type="text/javascript">
35+
var host = window.isLocal ? window.server : 'https://iserver.supermap.io';
36+
const graphmap = new mapboxgl.supermap.GraphMap(
37+
host + '/iserver/services/knowledgeGraph-budongchan/restjsr/graph/graphmaps/多样式图谱'
38+
);
39+
</script>
40+
</body>
41+
</html>

examples/maplibregl/config.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,13 @@ var exampleConfig = {
460460
thumbnail: 'knowledgeGraphMap.png',
461461
fileName: 'knowledgeGraphMap'
462462
},
463+
{
464+
name: '不动产图谱-样式',
465+
name_en: 'Real Estate GraphMap',
466+
version: '11.1.0',
467+
thumbnail: 'knowledgeGraphMap2.png',
468+
fileName: 'knowledgeGraphMap2'
469+
},
463470
{
464471
name: '河流流经省份图谱',
465472
name_en: 'Rivers flowing through provinces GraphMap',
75.6 KB
Loading
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<!--********************************************************************
2+
* Copyright© 2000 - 2023 SuperMap Software Co.Ltd. All rights reserved.
3+
*********************************************************************-->
4+
<!--********************************************************************
5+
* 该示例需要引入
6+
* G6 (https://github.com/antvis/G6)
7+
*********************************************************************-->
8+
<!DOCTYPE html>
9+
<html>
10+
<head>
11+
<meta charset="utf-8" />
12+
<meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no" />
13+
<title data-i18n="resources.title_knowledgeGraphMap"></title>
14+
<script type="text/javascript" include="jquery" src="../js/include-web.js"></script>
15+
<style>
16+
body {
17+
margin: 0;
18+
padding: 0;
19+
width: 100%;
20+
height: 100vh;
21+
overflow: hidden;
22+
}
23+
24+
#knowledgeGraph {
25+
width: 100%;
26+
height: 100%;
27+
}
28+
</style>
29+
</head>
30+
31+
<body>
32+
<div id="knowledgeGraph"></div>
33+
<script type="text/javascript" include="g6" src="../../dist/maplibregl/include-maplibregl.js"></script>
34+
<script type="text/javascript">
35+
var host = window.isLocal ? window.server : 'https://iserver.supermap.io';
36+
const graphmap = new maplibregl.supermap.GraphMap(
37+
host + '/iserver/services/knowledgeGraph-budongchan/restjsr/graph/graphmaps/多样式图谱'
38+
);
39+
</script>
40+
</body>
41+
</html>

examples/openlayers/config.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -548,6 +548,13 @@ var exampleConfig = {
548548
thumbnail: 'knowledgeGraphMap.png',
549549
fileName: 'knowledgeGraphMap'
550550
},
551+
{
552+
name: '不动产图谱-样式',
553+
name_en: 'Real Estate GraphMap',
554+
version: '11.1.0',
555+
thumbnail: 'knowledgeGraphMap2.png',
556+
fileName: 'knowledgeGraphMap2'
557+
},
551558
{
552559
name: '河流流经省份图谱',
553560
name_en: 'Rivers flowing through provinces GraphMap',

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