new fengmap.FMFog(map, options)
构造 FMFog 类
| Name | Type | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
map | 
            
            
            fengmap.FMMap | 
                
                 地图对象  | 
        |||||||||
options | 
            
            
            Object | 
                
                 雾效参数 
  | 
        
Members
- 
    
color
 - 
    
    
    
Properties:
Name Type Description colorstring 颜色
 - 
    
density
 - 
    
    
    
Properties:
Name Type Description densitynumber 雾的密度
 
Methods
- 
    
    
disable()
 - 
    
    
    
关闭 雾效
 - 
    
    
enable()
 - 
    
    
    
开启 雾效