new GeolocationBar( [options])
Parameters:
| Name | Type | Argument | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| options | Object | <optional> | Control bar options. Properties
 | 
Extends
Methods
- 
    addControl(c)
- 
    
    Add a control to the bar Parameters:Name Type Description col.control.Control control to add - Inherited From:
- Overrides:
 
- 
    deactivateControls( [except])
- 
    
    Deativate all controls in a bar Parameters:Name Type Argument Description exceptol.control.Control <optional> 
 a control - Inherited From:
- Overrides:
 
- 
    getActiveControls()
- 
    
    Get active control in the bar - Inherited From:
- Overrides:
 Returns:- Type
- Array.<ol.control.Control>
 
- 
    getControls()
- 
    
    Get controls in the panel Parameters:Type Description Array.<ol.control.Control> - Inherited From:
- Overrides:
 
- 
    getControlsByName(name)
- 
    
    
    
    
    
        Parameters:Name Type Description namestring of the control to search - Inherited From:
- Overrides:
 Returns:- Type
- ol.control.Control
 
- 
    getInteraction()
- 
    
    Get the ol.interaction.GeolocationDraw associatedwith the bar Returns:
- 
    getVisible()
- 
    
    Get the control visibility - Inherited From:
- Overrides:
 Returns:b - Type
- boolean
 
- 
    removeControl(c)
- 
    
    Remove a control from the bar Parameters:Name Type Description col.control.Control control to remove - Inherited From:
- Overrides:
 
- 
    setActive(b)
- 
    
    Auto activate/deactivate controls in the bar Parameters:Name Type Description bboolean activate/deactivate - Inherited From:
- Overrides:
 
- 
    setMap(map)
- 
    
    Remove the control from its current map and attach it to the new map. Subclasses may set up event handlers to get notified about changes to the map here. Parameters:Name Type Description mapol.Map Map. - Overrides:
 
- 
    setPosition(pos)
- 
    
    Set tool bar position Parameters:Name Type Description posstring a combinaison of top|left|bottom|right separated with - - Inherited From:
- Overrides:
 
- 
    setVisible(val)
- 
    
    Set the control visibility Parameters:Name Type Description valboolean - Inherited From:
- Overrides: