|
36 | 36 |
|
37 | 37 |
|
38 | 38 | #header2-text{ |
39 | | - padding-top: 70px; |
| 39 | + padding-top: 80px; |
40 | 40 | padding-bottom: 20px; |
41 | 41 | text-align: center |
42 | 42 | } |
43 | 43 |
|
44 | 44 | @media screen and (max-width:992px) { |
45 | 45 | #header2-text { |
46 | | - padding-top: 30px; |
| 46 | + padding-top: 75px; |
| 47 | + padding-bottom: 0; |
47 | 48 | } |
48 | 49 | } |
49 | 50 |
|
|
107 | 108 | @media screen and (max-width:1200px) { |
108 | 109 | #button_zip { |
109 | 110 | float: right; |
110 | | - margin-right: 15%; |
| 111 | + margin-right: 24%; |
111 | 112 | } |
112 | 113 | } |
113 | 114 |
|
|
140 | 141 | @media screen and (max-width:1200px) { |
141 | 142 | #button_sourceCode { |
142 | 143 | float: right; |
143 | | - margin-right: 15%; |
| 144 | + margin-right: 24%; |
144 | 145 | } |
145 | 146 | } |
146 | 147 |
|
|
170 | 171 | } |
171 | 172 |
|
172 | 173 | #new-attributes{ |
173 | | - margin-top: 40px; |
| 174 | + margin-top: 50px; |
174 | 175 | } |
175 | 176 |
|
176 | 177 | .new-attributes_bottomMenu .panel-heading { |
177 | 178 | margin-top: 0; |
178 | 179 | margin-bottom: 0; |
179 | | - margin-left: 5px; |
| 180 | + margin-left: 0; |
180 | 181 | color: dimgray; |
181 | 182 | font-size: 14px; |
182 | 183 | cursor: pointer; |
| 184 | + background-color: transparent; |
183 | 185 | } |
184 | 186 | </style> |
185 | 187 | </head> |
|
198 | 200 | <div class="row"> |
199 | 201 | <!-- 左边的图片 --> |
200 | 202 | <!-- 在class中加入hidden-xs可以在小屏幕时将图片隐藏--> |
201 | | - <div class="col-md-4 col-md-offset-2 col-sm-4"> |
| 203 | + <div class="col-md-4 col-md-offset-1 col-sm-4"> |
202 | 204 | <img src="./img/banner.png" alt="header-img" class="img-responsive center-block"> |
203 | 205 | </div> |
204 | 206 | <!-- 右边的文字 --> |
205 | 207 | <div class="col-md-5 col-md-offset-1 col-sm-6 col-sm-offset-2" id="header2-text"> |
206 | 208 | <h3 class="tc pt50">开放式 GIS 客户端开发包</h3> |
207 | 209 | </div> |
208 | 210 | <!-- 右边的链接按钮 --> |
209 | | - <div class="row" style="margin-bottom: 10px"> |
| 211 | + <div class="row" style="margin-bottom: 20px"> |
210 | 212 | <div class="col-md-2 col-md-offset-1 col-sm-6 col-xs-6" id="button_zip"> |
211 | 213 | <button type="button" class="btn"> |
212 | 214 | <img src="./img/packageIcon.png" style="height: 20px;width: 20px"><a href="downloads/iclient9.zip"> iclient9.zip</a> |
@@ -238,37 +240,37 @@ <h3 style="margin-top: 34px;font-size: 24px;color: #404040;letter-spacing: -0.16 |
238 | 240 | style="height:300px;position: relative;margin-top: 18px;background-color: #f5f5f5;border: 1px solid #ccc;border-radius: 4px;"></div> |
239 | 241 | <p style="margin-top: 18px">将 iSevrer 发布的地图加载至 Leaflet 的 map 中 </p> |
240 | 242 | <pre class="basic-code javascript" style="margin-top: 18px"><code class="hljs">var map = L.map('mapLeaflet', { |
241 | | - center: [39.89393354258348, 116.38738402603143], |
242 | | - maxZoom: 18, |
243 | | - zoom: 10 |
244 | | - }); |
| 243 | + center: [39.89393354258348, 116.38738402603143], |
| 244 | + maxZoom: 18, |
| 245 | + zoom: 10 |
| 246 | +}); |
245 | 247 |
|
246 | | - L.supermap.tiledMapLayer("http://support.supermap.com.cn:8090/iserver/services/map-china400/rest/maps/China").addTo(map);</code></pre> |
247 | | - <a href="#" style="font-size: 10px;margin-top: 10px">查看源码 »</a></h3> |
| 248 | +L.supermap.tiledMapLayer("http://support.supermap.com.cn:8090/iserver/services/map-china400/rest/maps/China").addTo(map);</code></pre> |
| 249 | + <a href="#" style="font-size: 10px;float:right">查看源码 »</a></h3> |
248 | 250 |
|
249 | 251 | <h3 style="margin-top: 34px;font-size: 24px;color: #404040;letter-spacing: -0.16px;">openLayers</h3> |
250 | 252 | <div id="map" |
251 | 253 | style="height:300px;position: relative;margin-top: 18px;background-color: #f5f5f5;border: 1px solid #ccc;border-radius: 4px;"></div> |
252 | 254 | <p style="margin-top: 19px">将 iSevrer 发布的地图加载至 OpenLayers 的 map 中 </p> |
253 | 255 | <pre class="basic-code javascript" style="margin-top: 18px"><code class="hljs">var map = new ol.Map({ |
254 | | - target: 'map', |
255 | | - view: new ol.View({ |
256 | | - center: [100.94238281254322,35.496456056550095], |
257 | | - zoom: 4, |
258 | | - projection:"EPSG:4326" |
259 | | - }), |
260 | | - layers: [new ol.layer.Tile({ |
261 | | - source: new ol.supermap.TileSuperMapRest({ |
262 | | - url: "http://support.supermap.com:8090/iserver/services/map-world/rest/maps/World", |
263 | | - projection:"EPSG:4326" |
264 | | - }), |
265 | | - })] |
266 | | - });</code></pre> |
267 | | - <a href="#" style="font-size: 10px">查看源码 »</a></h3> |
| 256 | + target: 'map', |
| 257 | + view: new ol.View({ |
| 258 | + center: [100.94238281254322,35.496456056550095], |
| 259 | + zoom: 4, |
| 260 | + projection:"EPSG:4326" |
| 261 | + }), |
| 262 | + layers: [new ol.layer.Tile({ |
| 263 | + source: new ol.supermap.TileSuperMapRest({ |
| 264 | + url: "http://support.supermap.com:8090/iserver/services/map-world/rest/maps/World", |
| 265 | + projection:"EPSG:4326" |
| 266 | + }), |
| 267 | + })] |
| 268 | +});</code></pre> |
| 269 | + <a href="#" style="font-size: 10px;float:right">查看源码 »</a></h3> |
268 | 270 |
|
269 | 271 | <h2 id="new-attributes">新特性</h2> |
270 | 272 |
|
271 | | - <div class="panel-group table-responsive" id="accordion" role="tablist"> |
| 273 | + <div class="panel-group" id="accordion" role="tablist"> |
272 | 274 | <div class="panel panel-default new-attributes_bottomMenu"> |
273 | 275 | <div class="panel-heading" id="collapseListGroupHeading1" data-toggle="collapse" |
274 | 276 | data-target="#collapse1" role="tab"> |
|
0 commit comments