Skip to content

Commit 0127782

Browse files
authored
更新ol版本支持情况
1 parent 382d7b0 commit 0127782

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

‎src/openlayers/README.md‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
@supermap/iclient-openlayers 是一套基于 OpenLayers 的云 GIS 网络客户端开发平台, 支持访问 SuperMap iServer / iEdge / iPortal / iManager / Online 的地图、服务和资源,为用户提供了完整专业的 GIS 能力, 同时提供了优秀的可视化功能。
44

5+
目前支持的OpenLayers版本为4.6.5,最新的5.x支持版本还在开发中。
6+
57
## 简介
68
* 官网:[http://iclient.supermap.io](http://iclient.supermap.io)
79
* 源码:[https://github.com/SuperMap/iClient-JavaScript/tree/master/src/openlayers](https://github.com/SuperMap/iClient-JavaScript/tree/master/src/openlayers)
@@ -16,15 +18,15 @@
1618

1719
在 HTML 文件中引入 CSS 文件
1820

19-
```
21+
```html
2022
<link href='https://openlayers.org/en/v4.6.5/css/ol.css' rel='stylesheet' />
2123

2224
<link href='http://iclient.supermap.io/dist/openlayers/iclient9-openlayers.min.css' rel='stylesheet' />
2325

2426
```
2527
在 JS 文件中加入如下代码
2628

27-
```
29+
```js
2830
import ol from 'openlayers';
2931
import {Logo, TileSuperMapRest} from '@supermap/iclient-openlayers';
3032

@@ -50,4 +52,4 @@ map.addLayer(layer);
5052
```
5153

5254
## 示例
53-
[https://github.com/SuperMap/iClient-JavaScript/tree/master/examples/openlayers](https://github.com/SuperMap/iClient-JavaScript/tree/master/examples/openlayers)
55+
[https://github.com/SuperMap/iClient-JavaScript/tree/master/examples/openlayers](https://github.com/SuperMap/iClient-JavaScript/tree/master/examples/openlayers)

0 commit comments

Comments
 (0)