new fengmap.FMGroundLayer(options)
| Name | Type | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options | 
            
            
            json | 
                
                 参数 
  | 
        
Members
- 
    
color
 - 
    
    
    
Properties:
Name Type Description colorstring 地面颜色 如:'#ff0000'
 - 
    
gridColor
 - 
    
    
    
Properties:
Name Type Description gridColorstring 网格颜色 如:'#ff0000'
 - 
    
gridOpacity
 - 
    
    
    
Properties:
Name Type Description gridOpacitynumber 网格透明度
 - 
    
opacity
 - 
    
    
    
Properties:
Name Type Description opacitynumber 地面透明度
 - 
    
visible
 - 
    
    
    
Properties:
Name Type Description visibleBoolean 显示、隐藏
 
Methods
- 
    
    
addTo(map)
 - 
    
    
    
添加到地图
Name Type Description mapObject FMMap对象
 - 
    
    
remove()
 - 
    
    
    
删除地面网格