Skip to content

Commit b68cfc1

Browse files
committed
优化一些例子
1 parent 36efbce commit b68cfc1

28 files changed

+45
-27
lines changed

examples/css/header.css

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,13 @@
2121
color: #FFFFFF;
2222
}
2323

24+
.pre-release {
25+
font-size: 18px;
26+
color: #FFFFFF;
27+
vertical-align: super;
28+
margin-left: 5px;
29+
}
30+
2431
#suffix-title {
2532
font-size: 16px;
2633
color: #FFFFFF;
@@ -394,6 +401,10 @@ ul.icl-nav-menu-sub:nth-child(1) {
394401
font-size: 20px;
395402
}
396403

404+
.pre-release {
405+
font-size: 14px;
406+
}
407+
397408
.navbar-brand {
398409
padding-right: 10px !important;
399410
}
@@ -456,6 +467,10 @@ ul.icl-nav-menu-sub:nth-child(1) {
456467
font-size: 14px;
457468
}
458469

470+
.pre-release {
471+
font-size: 8px;
472+
}
473+
459474
/*尺寸小于510时,利用按钮展开的头部选项的样式*/
460475
.navbar-custom-menu .navbar-nav > li > a {
461476
padding: 12px;
@@ -499,6 +514,9 @@ ul.icl-nav-menu-sub:nth-child(1) {
499514
font-size: 11px;
500515
}
501516

517+
.pre-release {
518+
font-size: 5px;
519+
}
502520
.navbar-toggle {
503521
padding-left: 10px;
504522
padding-right: 10px;

examples/leaflet/SummaryMeshJobService.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@
123123
return response.json();
124124
}).then(function (result) {
125125
var mapUrl = result[0].path;
126-
layer = L.supermap.imageMapLayer(mapUrl, {noWrap: true, transparent: true});
126+
layer = L.supermap.tiledMapLayer(mapUrl, {noWrap: true, transparent: true});
127127
layer.addTo(map);
128128
widgets.loader.removeLoader();
129129
});

examples/leaflet/SummaryRegionJobService.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@
169169
return response.json();
170170
}).then(function (result) {
171171
var mapUrl = result[0].path;
172-
layer = L.supermap.imageMapLayer(mapUrl, {noWrap: true, transparent: true});
172+
layer = L.supermap.tiledMapLayer(mapUrl, {noWrap: true, transparent: true});
173173
layer.addTo(map);
174174
widgets.loader.removeLoader();
175175
});

examples/leaflet/buffersAnalystJobService.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
return response.json();
113113
}).then(function (result) {
114114
var mapUrl = result[0].path;
115-
layer = L.supermap.imageMapLayer(mapUrl, {noWrap: true, transparent: true});
115+
layer = L.supermap.tiledMapLayer(mapUrl, {noWrap: true, transparent: true});
116116
layer.addTo(map);
117117
widgets.loader.removeLoader();
118118
});

examples/leaflet/kernelDensityJobService.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@
149149
return response.json();
150150
}).then(function (result) {
151151
var mapUrl = result[0].path;
152-
layer = L.supermap.imageMapLayer(mapUrl, {noWrap: true, transparent: true});
152+
layer = L.supermap.tiledMapLayer(mapUrl, {noWrap: true, transparent: true});
153153
layer.addTo(map);
154154
widgets.loader.removeLoader();
155155
});

examples/leaflet/overlayGeoJobService.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
return response.json();
121121
}).then(function (result) {
122122
var mapUrl = result[0].path;
123-
layer = L.supermap.imageMapLayer(mapUrl, {noWrap: true, transparent: true});
123+
layer = L.supermap.tiledMapLayer(mapUrl, {noWrap: true, transparent: true});
124124
layer.addTo(map);
125125
widgets.loader.removeLoader();
126126
});

examples/leaflet/plot_addfile.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
<head>
44
<meta charset="UTF-8">
55
<title data-i18n="resources.title_addfile"></title>
6-
<script type="text/javascript" include="bootstrap,widgets.alert,fileupLoad" src="../js/include-web.js"></script>
76
</head>
87
<body style=" margin: 0;overflow: hidden;background: #fff;width: 100%;height:100%;position: absolute;top: 0;">
98
<div id="toolbar" class="panel panel-primary" style="position: absolute;top: 15px;right: 10px;text-align: center;z-index: 9999;border-radius: 4px;">
@@ -22,6 +21,7 @@ <h5 class='panel-title text-center'>态势图叠加</h5></div>
2221
</div>
2322
</div>
2423
<div id="map" style="margin:0 auto;width: 100%;height: 100%"></div>
24+
<script type="text/javascript" include="bootstrap,widgets.alert,fileupLoad" src="../js/include-web.js"></script>
2525
<script type="text/javascript" include="iclient9-plot-leaflet" src="../../dist/leaflet/include-leaflet.js"></script>
2626
<script type="text/javascript">
2727
var host = window.isLocal ? window.server : "http://support.supermap.com.cn:8090";

examples/leaflet/plot_defaultStyle.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
<head>
44
<meta charset="UTF-8">
55
<title data-i18n="resources.title_defaultStyle"></title>
6-
<script type="text/javascript" include="bootstrap-css,responsive,colorpicker" src="../js/include-web.js"></script>
76
</head>
87
<body style=" margin: 0;overflow: hidden;background: #fff;width: 100%;height:100%;position: absolute;top: 0;">
98
<div id="toolbar" class="panel panel-primary"
@@ -54,6 +53,7 @@ <h5 class='panel-title text-center'>缺省属性</h5></div>
5453
</div>
5554
</div>
5655
<div id="map" style="margin:0 auto;width: 100%;height: 100%"></div>
56+
<script type="text/javascript" include="bootstrap-css,responsive,colorpicker" src="../js/include-web.js"></script>
5757
<script type="text/javascript" include="iclient9-leaflet-css,iclient9-plot-leaflet"
5858
src="../../dist/leaflet/include-leaflet.js"></script>
5959
<script type="text/javascript">

examples/leaflet/plot_drawGeoGraphicObject.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
<head>
44
<meta charset="UTF-8">
55
<title data-i18n="resources.title_drawGeoGraphicObject"></title>
6-
<script type="text/javascript" include="bootstrap-css" src="../js/include-web.js"></script>
76
</head>
87
<body style=" margin: 0;overflow: hidden;background: #fff;width: 100%;height:100%;position: absolute;top: 0;">
98
<div id="toolbar" class="panel panel-primary" style=" position: absolute;top: 10px;right: 10px;text-align: center;z-index: 9999;border-radius: 4px;">
@@ -18,6 +17,7 @@ <h5 class='panel-title text-center'>点线面绘制</h5></div>
1817
</div>
1918
</div>
2019
<div id="map" style="margin:0 auto;width: 100%;height: 100%"></div>
20+
<script type="text/javascript" include="bootstrap-css" src="../js/include-web.js"></script>
2121
<script type="text/javascript" include="iclient9-plot-leaflet" src="../../dist/leaflet/include-leaflet.js"></script>
2222
<script type="text/javascript">
2323
var host = window.isLocal ? window.server : "http://support.supermap.com.cn:8090";

examples/leaflet/plot_drawGraphics.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
<head>
44
<meta charset="UTF-8">
55
<title data-i18n="resources.title_drawGraphics"></title>
6-
<script type="text/javascript" include="bootstrap-css,plottingPanel" src="../js/include-web.js"></script>
76
<style type="text/css">
87
body {
98
margin: 0;
@@ -66,6 +65,7 @@ <h5 class='panel-title text-center' style=" font-size: 16px;color: #ffffff;">复
6665
</div>
6766
</div>
6867
<div id="map"></div>
68+
<script type="text/javascript" include="bootstrap-css,plottingPanel" src="../js/include-web.js"></script>
6969
<script type="text/javascript" include="iclient9-plot-leaflet" src="../../dist/leaflet/include-leaflet.js"></script>
7070
<script type="text/javascript" include="StylePanel" src="../js/plottingPanel/PlottingPanel.Include.js"></script>
7171
<script type="text/javascript">

0 commit comments

Comments
 (0)