Constructor
new Category()
Example
//构造MapV可视化图层
 var mapV = new GeoGlobe.Visuals.MapV();
 //添加到地图中
 mapV.addTo(map);
 //构造分类图层
 var category = new GeoGlobe.Visuals.MapV.Category({
    id: 'category_1',
    visibility: true,
    dragdrawing: true,
    data: [{
        "type": "Feature",
        "properties": {count:5},
        "geometry": {
            "type": "Point",
            "coordinates": [123.3192464663197, 43.91886355937628]
        }
    }],
    rendererOptions: {
        splitList:{
            other: "#FFC0CB",
            1 : "#00FF00",
            2: "yellow",
            3 : "red"
        },
        size: 2,
        max: 30
    }
 });
 //添加到MapV可视化图层
 category.addTo(mapV);
 //绘制
 mapV.render();
        
        Members
visibility :Boolean
- Default Value:
 - true
 
    图层可见性
    Type:
- Boolean
 
Methods
addTo(mapV)
    关联mapV
    Parameters:
| Name | Type | Description | 
|---|---|---|
mapV | 
            
            GeoGlobe.Visuals.MapV | 
destroy()
    销毁图层
        
            
    
    remove()
    从父对象中移除自己
        
            
    
    render()
    绘制
        
            
    
    setData(data)
    数据的处理
    Parameters:
| Name | Type | Description | 
|---|---|---|
data | 
            
            Array | 数据,geojson格式 | 
setVisible(visibility)
    图层的显示与隐藏
    Parameters:
| Name | Type | Description | 
|---|---|---|
visibility | 
            
            Boolean | 可见性 |