Repository navigation
Expand file tree
/
Copy pathexamples.html
More file actions
49 lines (49 loc) · 2.61 KB
/
Copy pathexamples.html
File metadata and controls
49 lines (49 loc) · 2.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<!--********************************************************************
* Copyright© 2000 - 2026 SuperMap Software Co.Ltd. All rights reserved.
*********************************************************************-->
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title data-i18n="resources.title_examplesComponent"></title>
<link rel="shortcut icon" type="image/x-icon" href="../../img/favicon.ico" />
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport" />
<script
type="text/javascript"
include="jquery,bootstrap,template,admin-lte,jquery.scrollto,i18n,lazyload,theme"
src="../../js/include-web.js"
></script>
<link rel="stylesheet" href="../../css/common.css" />
<link rel="stylesheet" href="../../css/header.css" />
<link rel="stylesheet" href="../../css/sideBar.css" />
<link rel="stylesheet" href="../../css/examples.css" />
<script type="text/javascript" src="../../js/utils.js"></script>
<script type="text/javascript" src="../../js/dataSource.js"></script>
</head>
<body class="hold-transition skin-blue sidebar-mini" data-spy="scroll" data-target="#scrollSpy">
<!-- ./wrapper -->
<div class="wrapper"></div>
<script>
$('.wrapper').load('../../template/example.html', function() {
var navigation = {
nav: {
title: window.versionName,
path: '../../../web/',
isLocal: window.isLocal
}
};
utils.loadTemplate('.icl-header', '../../template/header.html', navigation);
$body = $('body');
//按 sample-data cookie 加载对应数据源的示例配置,当前产品放最后
dataSource.appendConfigs($body, ['openlayers', 'leaflet', 'classic', 'mapboxgl', 'maplibregl']);
$body.append("<script type='text/javascript' src='../../js/localization.js'><\/script>");
$body.append("<script type='text/javascript' src='../../js/common.js'><\/script>");
$body.append("<script type='text/javascript' src='../../js/sidebar.js'><\/script>");
$body.append("<script type='text/javascript' src='../../js/example.js'><\/script>");
utils.loadTemplate('.icl-footer', '../../template/footer.html', navigation);
});
</script>
<!-- ./wrapper end-->
</body>
</html>