Skip to content

Commit f19bf05

Browse files
committed
提交代码
0 parents  commit f19bf05

File tree

1,668 files changed

+50164
-0
lines changed

Some content is hidden

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

1,668 files changed

+50164
-0
lines changed

LICENSE

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Copyright (c) 2012 SuperMapiClient/jsBev
2+
All rights reserved.
3+
4+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
5+
6+
1.Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
7+
2.Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
8+
9+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

base/base.html

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<title></title>
5+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
6+
<meta name="viewport" content="width=device-width, initial-scale=1">
7+
<script src="./js/SuperMap.Include.js"></script>
8+
<script src="./js/jquery-1.8.2.js"></script>
9+
<script src="./js/sm_bev_main.js"></script>
10+
<!--
11+
//初始化bev框架,
12+
SuperMap.Bev.Main.init(function(){
13+
//页面代码需要放入其回调函数中
14+
15+
16+
//设置主题,支持的主题有base,black-tie,blitzer,cupertino,dark-hive
17+
//dot-luv,eggplant,excite-bike,flick,hot-sneaks,humanity,le-frog,mint-choc,overcast,pepper-grinder
18+
//redmond,smoothness,south-street,start,sunny,swanky-purse,trontastic,ui-darkness,ui-lightness,vader
19+
SuperMap.Bev.Theme.set("dot-luv");
20+
21+
//your code
22+
});
23+
-->
24+
</head>
25+
<body onload="init()">
26+
<!--[if IE 7]>
27+
<div style="position: absolute;width: 100%;height: 100%;overflow: hidden;"><![endif]-->
28+
<div id="mapContainer"></div>
29+
<div id="head" class="background_1">
30+
<span id="logo" class="head_child"></span>
31+
<span id="toolbar" class="head_child"></span>
32+
</div>
33+
<div id="widgetControl"></div>
34+
<!--[if IE 7]></div><![endif]-->
35+
</body>
36+
</html>

css/demo1/style.css

Lines changed: 239 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,239 @@
1+
/*******map style**********/
2+
body{
3+
padding: 0;
4+
margin: 0;
5+
6+
overflow:hidden;
7+
}
8+
#mapContainer
9+
{
10+
width:100%;
11+
height:100%;
12+
position: absolute;
13+
z-index: -5;
14+
}
15+
16+
17+
18+
19+
20+
/*******demo style**********/
21+
#head{
22+
width: 100%;
23+
height: 60px;
24+
position: absolute;
25+
z-index: 5;
26+
}
27+
28+
#logo{
29+
height: 56px;
30+
width: 311px;
31+
background: url(../../images/frameimages/banner-logo.png);
32+
margin: 10px 0px 0px 20px;
33+
}
34+
#toolbar{
35+
vertical-align: top;
36+
margin: 18px 0px 0px 150px;
37+
/*margin-top: 17px\0;*/
38+
*margin-top: 21px;
39+
}
40+
41+
.widgetControl{
42+
position: absolute;
43+
top: 70px;
44+
right: 0px;
45+
width: 30px;
46+
padding: 5px;
47+
/*border: 1px solid #A6C9E2;*/
48+
background: #FCFDFD;
49+
}
50+
#widgetControl{
51+
position: absolute;
52+
/*top: 60px;*/
53+
right: 10px;
54+
/*height: 100%;*/
55+
z-index: 4;
56+
}
57+
.widgetControl_l{
58+
vertical-align: top;
59+
width: 330px;
60+
display: inline-block;
61+
position: relative;
62+
/*padding-bottom: 60px;*/
63+
/*overflow: hidden;*/
64+
/*height: 100%;*/
65+
}
66+
.widgetControl_r{
67+
vertical-align: top;
68+
width:30px;
69+
display: inline-block;
70+
}
71+
.widget_container{
72+
position: relative;
73+
width: 330px;
74+
margin-top:10px;
75+
}
76+
.widgetsCon{
77+
position: absolute;
78+
top:60px;
79+
}
80+
.widget_removeoutbtn,.widget_minusbtn{
81+
display: inline-block;
82+
}
83+
.measureResult {
84+
height: 40px;
85+
font-size: 2em;
86+
line-height: 40px;
87+
text-align: center;
88+
border-radius: 10px;
89+
border: 1px solid #74A1AF;
90+
color: #000000;
91+
background-color: #ffffff;
92+
}
93+
/**********common style*******************/
94+
/*.background_1 {*/
95+
/*border: 1px solid #2694E8;*/
96+
/*background: #3BAAE3 url(../../theme/bevThemes/cupertino/images/ui-bg_glass_50_3baae3_1x400.png) 50% 59% repeat-x;*/
97+
/*opacity: 0.9;*/
98+
/*filter:alpha(opacity=90);*/
99+
/*}*/
100+
.head_child{
101+
display: inline-block;
102+
}
103+
.ui-menu { width: 150px; }
104+
.sm_menu_li{
105+
font-size: 14px;
106+
}
107+
108+
.tab_icon{
109+
width: 26px;
110+
height: 26px;
111+
vertical-align: top;
112+
display: inline-block;
113+
margin-right:10px;
114+
}
115+
.tab_txt{
116+
vertical-align: top;
117+
font-size: 16px;
118+
line-height: 26px;
119+
display: inline-block;
120+
}
121+
.search_icon{
122+
background: url(../../images/frameimages/search.png);
123+
}
124+
.measure_icon{
125+
background: url(../../images/frameimages/measure.png);
126+
}
127+
128+
.icon16_16{
129+
width: 16px;
130+
height: 16px;
131+
vertical-align: top;
132+
display: inline-block;
133+
margin: 0px 5px 0px 5px;
134+
}
135+
.dialog_title_icon{
136+
margin: 0px 10px 0px 0px;
137+
}
138+
.searchByBounds_16_16{
139+
background: url(../../images/frameimages/searchByBounds_16_16.png);
140+
}
141+
.sql_16_16{
142+
background: url(../../images/frameimages/sql_16_16.png);
143+
}
144+
.measure_16_16{
145+
background: url(../../images/frameimages/measure_16_16.png);
146+
}
147+
.pan_16_16{
148+
background: url(../../images/frameimages/pan_16_16.png);
149+
}
150+
.menu_txt{
151+
vertical-align: top;
152+
display: inline-block;
153+
line-height: 16px;
154+
}
155+
156+
ul,li{
157+
padding: 0px;
158+
margin: 0px;
159+
}
160+
161+
div[id*="PanZoomBar"]{
162+
top:80px;
163+
}
164+
165+
166+
/*******************old style**********************/
167+
.fontstyle {
168+
font-size: 14px;
169+
padding-left: 5px;
170+
}
171+
.input {
172+
transition: all 0.30s ease-in-out;
173+
-webkit-transition: all 0.30s ease-in-out;
174+
-moz-transition: all 0.30s ease-in-out;
175+
border: #35A5E5 1px solid;
176+
border-radius: 4px;
177+
outline: none;
178+
width: 95%;
179+
height: 17px;
180+
margin-left: 5px;
181+
}
182+
.button3 {
183+
cursor: pointer;
184+
width: 190px;
185+
height: 35px;
186+
margin: 5px 5px 5px 5px;
187+
border: 1px solid #CCC;
188+
border-radius: 8px;
189+
font-size: 20px;
190+
text-align: center;
191+
padding-top: 12px;
192+
background: #9EBFE2 5px 8px;
193+
-webkit-transition: color 0.5s ease-in-out, background-color 0.5s ease-in-out;
194+
}
195+
.button4 {
196+
cursor: pointer;
197+
width: 190px;
198+
height: 20px;
199+
margin: 5px 5px 5px 5px;
200+
border: 1px solid #CCC;
201+
border-radius: 8px;
202+
font-size: 16px;
203+
text-align: center;
204+
padding-top: 3px;
205+
background: #9EBFE2 5px 8px;
206+
-webkit-transition: color 0.5s ease-in-out, background-color 0.5s ease-in-out;
207+
}
208+
#d {
209+
background: url("../../images/frameimages/04.png") no-repeat;
210+
}
211+
#measureResult {
212+
width: 190px;
213+
height: 40px;
214+
border: 1px solid #CCC;
215+
margin: 5px 5px 5px 5px;
216+
border-radius: 8px;
217+
font-size: 14px;
218+
text-align: center;
219+
padding-top: 5px;
220+
}
221+
#measureDistance {
222+
background-image: url(../../images/frameimages/measuredistance.png);
223+
background-repeat: no-repeat;
224+
background-position-x: 6px;
225+
background-position-y: 6px;
226+
}
227+
#measureArea {
228+
background-image: url(../../images/frameimages/measurearea.png);
229+
background-repeat: no-repeat;
230+
background-position-x: 6px;
231+
background-position-y: 6px;
232+
}
233+
p {
234+
display: block;
235+
-webkit-margin-before: 1em;
236+
-webkit-margin-after: 1em;
237+
-webkit-margin-start: 0px;
238+
-webkit-margin-end: 0px;
239+
}

0 commit comments

Comments
 (0)