Skip to content

Commit a7a01bc

Browse files
committed
逐步实现example国际化
1 parent a10d7c5 commit a7a01bc

File tree

265 files changed

+1617
-1241
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

265 files changed

+1617
-1241
lines changed

examples/3dwebgl/editor.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<title>SuperMap 3D-WebGL 示例代码</title>
66
<link rel="shortcut icon" type="image/x-icon" href="../../web/img/favicon.ico"/>
77
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
8-
<script type="text/javascript" include="jquery,bootstrap,template,admin-lte,ace,i18n"
8+
<script type="text/javascript" exclude="example-i18n" include="jquery,bootstrap,template,admin-lte,ace,i18n"
99
src="../js/include-web.js"></script>
1010
<link rel="stylesheet" href="../css/common.css">
1111
<link rel="stylesheet" href="../css/header.css">
@@ -29,6 +29,7 @@
2929

3030
$body = $('body');
3131
$body.append("<script type='text/javascript' src='./config.js'><\/script>");
32+
$body.append("<script type='text/javascript' src='../js/localization.js'><\/script>");
3233
$body.append("<script type='text/javascript' src='../js/common.js'><\/script>");
3334
$body.append("<script type='text/javascript' src='../js/sidebar.js'><\/script>");
3435
$body.append("<script type='text/javascript' src='../js/editor.js'><\/script>");

examples/3dwebgl/examples.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
<title>SuperMap 3D-WebGL 示范程序</title>
77
<link rel="shortcut icon" type="image/x-icon" href="../../web/img/favicon.ico"/>
88
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
9-
<script type="text/javascript" include="jquery,bootstrap,template,admin-lte,jquery.scrollto,i18n,lazyload"
9+
<script type="text/javascript" exclude="example-i18n"
10+
include="jquery,bootstrap,template,admin-lte,jquery.scrollto,i18n,lazyload"
1011
src="../js/include-web.js"></script>
1112
<link rel="stylesheet" href="../css/common.css">
1213
<link rel="stylesheet" href="../css/header.css">
@@ -30,6 +31,7 @@
3031

3132
$body = $('body');
3233
$body.append("<script type='text/javascript' src='./config.js'><\/script>");
34+
$body.append("<script type='text/javascript' src='../js/localization.js'><\/script>");
3335
$body.append("<script type='text/javascript' src='../js/common.js'><\/script>");
3436
$body.append("<script type='text/javascript' src='../js/sidebar.js'><\/script>");
3537
$body.append("<script type='text/javascript' src='../js/example.js'><\/script>");

examples/classic/OGC_GeoJSON.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<head>
44
<meta charset="utf-8">
55
<title>GeoJSON数据展示</title>
6+
<script type="text/javascript" src="../js/include-web.js"></script>
67
</head>
78
<body style=" margin: 0;overflow: hidden;background: #fff;width: 100%;height:100%;position: absolute;top: 0;">
89
<div id="map" style="margin:0 auto;width: 100%;height: 100%"></div>

examples/classic/OGC_wcs.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<head>
44
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
55
<title>WCS图层</title>
6+
<script type="text/javascript" src="../js/include-web.js"></script>
67
</head>
78
<body style=" margin: 0;overflow: hidden;background: #fff;width: 100%;height:100%;position: absolute;top: 0;">
89
<div id="map" style="margin:0 auto;width: 100%;height: 100%"></div>

examples/classic/OGC_wmtsLayer.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<head>
44
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
55
<title>WMTS图层</title>
6+
<script type="text/javascript" src="../js/include-web.js"></script>
67
</head>
78
<body style=" margin: 0;overflow: hidden;background: #fff;width: 100%;height:100%;position: absolute;top: 0;">
89
<div id="map" style="margin:0 auto;width: 100%;height: 100%"></div>

examples/classic/controler_attribution.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<head>
44
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
55
<title>版权控件</title>
6+
<script type="text/javascript" src="../js/include-web.js"></script>
67
</head>
78
<body style=" margin: 0;overflow: hidden;background: #fff;width: 100%;height:100%;position: absolute;top: 0;">
89
<div id="map" style="margin:0 auto;width: 100%;height: 100%"></div>

examples/classic/controler_layerswitcher.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<head>
44
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
55
<title>图层管理器</title>
6+
<script type="text/javascript" src="../js/include-web.js"></script>
67
</head>
78
<body style=" margin: 0;overflow: hidden;background: #fff;width: 100%;height:100%;position: absolute;top: 0;">
89
<div id="map" style="margin:0 auto;width: 100%;height: 100%"></div>

examples/classic/controler_navigation.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<head>
44
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
55
<title>地图基础操作控件</title>
6+
<script type="text/javascript" src="../js/include-web.js"></script>
67
</head>
78
<body style=" margin: 0;overflow: hidden;background: #fff;width: 100%;height:100%;position: absolute;top: 0;">
89
<div id="map" style="margin:0 auto;width: 100%;height: 100%"></div>

examples/classic/controler_overviewmap.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<head>
44
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
55
<title>鹰眼控件</title>
6+
<script type="text/javascript" src="../js/include-web.js"></script>
67
</head>
78
<body style=" margin: 0;overflow: hidden;background: #fff;width: 100%;height:100%;position: absolute;top: 0;">
89
<div id="map" style="margin:0 auto;width: 100%;height: 100%"></div>

examples/classic/controler_panzoombar.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<head>
44
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
55
<title>平移缩放控件</title>
6+
<script type="text/javascript" src="../js/include-web.js"></script>
67
</head>
78
<body style=" margin: 0;overflow: hidden;background: #fff;width: 100%;height:100%;position: absolute;top: 0;">
89
<div id="map" style="margin:0 auto;width: 100%;height: 100%"></div>

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