Skip to content

Commit ab498fd

Browse files
committed
修改首页查看源码链接 review by zhouqiang
1 parent 10aed91 commit ab498fd

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

web/index.html

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -87,19 +87,17 @@ <h2 id="quick-start">快速入门</h2>
8787
<div>
8888
<h3 style="margin-top: 34px;font-size: 24px;color: #404040;letter-spacing: -0.16px;">Leaflet</h3>
8989
<div class="map" id="leafletMap"></div>
90-
<p style="margin-top: 18px">将 iSevrer 发布的地图加载至 Leaflet 的 map 中
91-
<a href="../examples/leaflet/editor.html" style="font-size: 10px;float:right">查看源码&nbsp;&raquo;</a>
92-
</p>
90+
<p style="margin-top: 18px">将 iSevrer 发布的地图加载至 Leaflet 的 map 中</p>
9391
<pre class="javascript"><code>var map = L.map(&#39;map&#39;);
9492
L.supermap.tiledMapLayer(&quot;http://localhost:8090/iserver/services/map/rest/maps/China&quot;).addTo(map);</code></pre>
95-
93+
<a href="../examples/leaflet/editor.html#01_tiledMapLayer3857" style="font-size: 10px;float:right">查看源码&nbsp;&raquo;</a>
9694
</div>
9795
<!--OpenLayers-->
9896
<div>
9997
<h3 style="margin-top: 34px;font-size: 24px;color: #404040;letter-spacing: -0.16px;">OpenLayers</h3>
10098
<div class="map" id="olMap"></div>
10199
<p style="margin-top: 19px">将 iSevrer 发布的地图加载至 OpenLayers 的 map 中
102-
<a href="../examples/openlayers/editor.html" style="font-size: 10px;float:right">查看源码&nbsp;&raquo;</a>
100+
103101
</p>
104102
<pre class="javascript"><code>var map = new ol.Map({
105103
target: &#39;map&#39;,
@@ -109,14 +107,13 @@ <h3 style="margin-top: 34px;font-size: 24px;color: #404040;letter-spacing: -0.16
109107
}),
110108
})]
111109
});</code></pre>
112-
110+
<a href="../examples/openlayers/editor.html#01_tiledMapLayer4326" style="font-size: 10px;float:right">查看源码&nbsp;&raquo;</a>
113111
</div>
114112
<!--Mapbox GL JS-->
115113
<div>
116114
<h3 style="margin-top: 34px;font-size: 24px;color: #404040;letter-spacing: -0.16px;">Mapbox GL JS</h3>
117115
<div class="map" id="mapboxMap"></div>
118116
<p style="margin-top: 19px">将 iSevrer 发布的地图加载至 Mapbox GL JS 的 map 中
119-
<a href="../examples/mapboxgl/editor.html" style="font-size: 10px;float:right">查看源码&nbsp;&raquo;</a>
120117
</p>
121118
<pre class="javascript"><code>var map = new mapboxgl.Map({
122119
container: "map",
@@ -134,19 +131,17 @@ <h3 style="margin-top: 34px;font-size: 24px;color: #404040;letter-spacing: -0.16
134131
}]
135132
},
136133
});</code></pre>
137-
134+
<a href="../examples/mapboxgl/editor.html#01_tiledMapLayer" style="font-size: 10px;float:right">查看源码&nbsp;&raquo;</a>
138135
</div>
139136
<!--iClient3D-->
140137
<div>
141138
<h3 style="margin-top: 34px;font-size: 24px;color: #404040;letter-spacing: -0.16px;">iClient3D</h3>
142139
<div class="map" id="iC3DMap"></div>
143140
<p style="margin-top: 19px">
144-
&nbsp;
145-
<a href="../examples/iclient3d/editor.html" style="font-size: 10px;float:right;">查看源码&nbsp;&raquo;</a>
146141
</p>
147142

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

0 commit comments

Comments
 (0)