new Overlay( [options])
Control overlay for OL3 The overlay control is a control that display an overlay over the map
Parameters:
| Name | Type | Argument | Description | 
|---|---|---|---|
| options | Object | <optional> | Control options.  | 
Extends
Methods
- 
    getVisible()
- 
    
    Get the control visibility Returns:b - Type
- boolean
 
- 
    hide()
- 
    
    Set the control visibility hidden 
- 
    setClass(className)
- 
    
    Change class name Parameters:Name Type Description classNameString 
- 
    setContent(html)
- 
    
    Set the content of the overlay Parameters:Name Type Description htmlstring the html to display in the control (or a jQuery object) 
- 
    show(html, coord)
- 
    
    Set the control visibility Parameters:Name Type Description htmlstring the html to display in the control (or a jQuery object) coordol.coordinate coordinate of the top left corner of the control to start from 
- 
    toggle()
- 
    
    Toggle control visibility 
 ol-ext
ol-ext