new Vector(options)
Usage
// 浏览器
<script type="text/javascript" src="https://iclient.supermap.io/dist/leaflet/iclient-leaflet.js"></script>
<script>
  new L.supermap.Vector(options);
  
  // 弃用的写法
  new SuperMap.Vector(options);
</script>
// ES6 Import
import { Vector } from '@supermap/iclient-leaflet';
new Vector(options);
        
        
        
            common/iServer/Vector.js, line 8
        
        
    | Name | Type | Description | ||||||
|---|---|---|---|---|---|---|---|---|
| options | Object | 可选参数。 
 | 
Extends
Members
- 
    datasetInfoDatasetInfo
- 
    
    数据集信息。 
- 
    displayFilterstring
- 
    
    图层显示过滤条件。 
- 
    joinItemsJoinItem
- 
    
    连接信息类。 
- 
    representationFieldstring
- 
    
    存储制图表达信息的字段。 
- 
    styleServerStyle
- 
    
    矢量图层的风格。 
- 
    ugcLayerTypeLayerType
- 
    
    图层类型。 
Methods
- 
    inherited destroy()common/iServer/Vector.js, line 33
- 
    
    销毁对象,将其属性置空。 
- 
    fromJson(jsonObject)common/iServer/Vector.js, line 43
- 
    
    将服务端 JSON 对象转换成当前客户端对象。 Name Type Description jsonObjectObject 要转换的 JSON 对象。 
- 
    toServerJSONObject(){Object}common/iServer/Vector.js, line 56
- 
    
    转换成对应的 JSON 格式对象。 Returns:Type Description Object 对应的 JSON 格式对象