Skip to content

Commit fad6b30

Browse files
调整iclient9首页"查看源码"处的样式。review by zhurch
1 parent 039163a commit fad6b30

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

web/index.html

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,7 @@ <h3 style="margin-top: 34px;font-size: 24px;color: #404040;letter-spacing: -0.16
8989
<div class="map" id="leafletMap"></div>
9090
<p style="margin-top: 18px">将 iSevrer 发布的地图加载至 Leaflet 的 map 中</p>
9191
<pre class="javascript"><code>var map = L.map(&#39;map&#39;);
92-
L.supermap.tiledMapLayer(&quot;http://localhost:8090/iserver/services/map/rest/maps/China&quot;).addTo(map);</code></pre>
93-
<a href="../examples/leaflet/editor.html#01_tiledMapLayer3857" style="font-size: 10px;float:right">查看源码&nbsp;&raquo;</a>
92+
L.supermap.tiledMapLayer(&quot;http://localhost:8090/iserver/services/map/rest/maps/China&quot;).addTo(map);</code><a href="../examples/leaflet/editor.html#01_tiledMapLayer3857" style="font-size: 10px;float:right">查看源码&nbsp;&raquo;</a></pre>
9493
</div>
9594
<!--OpenLayers-->
9695
<div>
@@ -106,8 +105,7 @@ <h3 style="margin-top: 34px;font-size: 24px;color: #404040;letter-spacing: -0.16
106105
url: &quot;http://localhost:8090/iserver/services/map/rest/maps/World&quot;
107106
}),
108107
})]
109-
});</code></pre>
110-
<a href="../examples/openlayers/editor.html#01_tiledMapLayer4326" style="font-size: 10px;float:right">查看源码&nbsp;&raquo;</a>
108+
});</code><a href="../examples/openlayers/editor.html#01_tiledMapLayer4326" style="font-size: 10px;float:right">查看源码&nbsp;&raquo;</a></pre>
111109
</div>
112110
<!--Mapbox GL JS-->
113111
<div>
@@ -130,8 +128,7 @@ <h3 style="margin-top: 34px;font-size: 24px;color: #404040;letter-spacing: -0.16
130128
"source": "raster-tiles",
131129
}]
132130
},
133-
});</code></pre>
134-
<a href="../examples/mapboxgl/editor.html#01_tiledMapLayer" style="font-size: 10px;float:right">查看源码&nbsp;&raquo;</a>
131+
});</code><a href="../examples/mapboxgl/editor.html#01_tiledMapLayer" style="font-size: 10px;float:right">查看源码&nbsp;&raquo;</a></pre>
135132
</div>
136133
<!--iClient3D-->
137134
<div>
@@ -140,8 +137,7 @@ <h3 style="margin-top: 34px;font-size: 24px;color: #404040;letter-spacing: -0.16
140137
<p style="margin-top: 19px">
141138
</p>
142139

143-
<pre class="javascript"><code>var viewer = new Cesium.Viewer('cesiumContainer');</code></pre>
144-
<a href="../examples/iclient3d/editor.html#01_3DMap" style="font-size: 10px;float:right;">查看源码&nbsp;&raquo;</a>
140+
<pre class="javascript"><code>var viewer = new Cesium.Viewer('cesiumContainer');</code><a href="../examples/iclient3d/editor.html#01_3DMap" style="font-size: 10px;float:right;">查看源码&nbsp;&raquo;</a></pre>
145141
</div>
146142
<!--新特性-->
147143
<div class="new-attributes">

0 commit comments

Comments
 (0)