deprecated new WebMap(options)
Usage
// 浏览器
<script type="text/javascript" src="https://iclient.supermap.io/dist/openlayers/iclient-ol.js"></script>
<script>
  new ol.supermap.WebMap(options);
  
</script>
// ES6 Import
import { WebMap } from '@supermapgis/iclient-ol';
new WebMap(options);
        
        
        
            openlayers/mapping/WebMap.js, line 73
        
        
    | Name | Type | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| options | Object | 参数。 
 | 
Extends
Methods
- 
    addProjctionFromWKT(wkt, crsCode){boolean}openlayers/mapping/WebMap.js, line 4489
- 
    
    通过 WKT 参数扩展支持多坐标系。 Name Type Description wktstring 字符串。 crsCodestring EPSG 信息,如: "EPSG:4490"。 Returns:Type Description boolean 坐标系是否添加成功。 
- 
    formatUrlWithCredential(url)openlayers/mapping/WebMap.js, line 4412
- 
    
    给 URL 带上凭证密钥。 Name Type Description urlstring 地址。 
- 
    getCustomSetting(style, color, featureType)openlayers/mapping/WebMap.js, line 3593
- 
    
    获取单值专题图自定义样式对象。 Name Type Description styleObject 图层上的样式。 colorstring 单值对应的颜色。 featureTypestring 要素类型。 
- 
    getEpsgInfoFromWKT(wkt){string}openlayers/mapping/WebMap.js, line 4521
- 
    
    通过 WKT 参数获取坐标信息。 Name Type Description wktstring 字符串。 Returns:Type Description string EPSG,如:"EPSG:4326"。 
- 
    isAddProxy(url, proxy){boolean}openlayers/mapping/WebMap.js, line 4389
- 
    
    url是否要带上代理 Name Type Description url* 请求地址,必选参数。 proxy* 是否需要加上代理,可选参数。 Returns:Type Description boolean 是否带上代理 
- 
    isCredentail(url, proxy){boolean|undefined}openlayers/mapping/WebMap.js, line 4377
- 
    
    请求是否带上cookie Name Type Description urlstring 请求地址,必选参数。 proxyboolean 是否需要加上代理,可选参数。 Returns:Type Description boolean | undefined 是否带上cookie 
- 
    refresh()openlayers/mapping/WebMap.js, line 205
- 
    
    重新渲染地图。 - Version:
- 10.1.0