new CadcorpFramedCloud(id, lonlat, contentSize, contentObjectnullable, anchornullable, titleText, closeBoxCallback)
    
    A popup is a small div that can opened and closed on the map. 
This specialisation enables us to have a consistant banner for all popups.
Extends OpenLayers.Popup.FramedCloud
    Parameters:
    
    
    
        
        | Name | Type | Attributes | Description | 
    
    
    
        
            
                | id | string |  | The id for this popup. | 
    
        
            
                | lonlat | OpenLayers.LonLat |  | The real world location for this popup, in map crs units | 
    
        
            
                | contentSize | OpenLayers.Size |  | The size in pixels of the content | 
    
        
            
                | contentObject | Object | <nullable> 
 | A jquery object that has the content for this popup | 
    
        
            
                | anchor | Object | <nullable> 
 | An object to which the popup will be anchored. Must expose a 'size' (OpenLayers.Size) and 'offset' (OpenLayers.Pixel) | 
    
        
            
                | titleText | string |  | The title text for this popup | 
    
        
            
                | closeBoxCallback | function |  | Function to be called on closeBox click. | 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
 
    
    
    
     
    
    
        Members
        
            
autoSize
    Properties:
    
    
    
        
        | Name | Type | Description | 
    
    
    
        
            
                | autoSize | boolean | Should this popup resize itself to fit the content | 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
contentObject
    Properties:
    
    
    
        
        | Name | Type | Attributes | Description | 
    
    
    
        
            
                | contentObject | Object | <nullable> 
 | A jquery object that has the content for this popup | 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
titleBar
    Properties:
    
    
    
        
        | Name | Type | Attributes | Description | 
    
    
    
        
            
                | titleBar | Object | <nullable> 
 | A jQuery object that contains the title bar | 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
Methods
        
            
    
    destroy()
    
    Nullify references to prevent circular references and memory leaks
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
draw(px) → {DOMElement}
    
    Constructs the elements that make up the popup.
    Parameters:
    
    
    
        
        | Name | Type | Description | 
    
    
    
        
            
                | px | OpenLayers.Pixel | the position the popup in pixels. | 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
Returns:
        
    Reference to a div that contains the drawn popup
    - 
        Type
    
- 
        
DOMElement
    
panIntoView(dialogWidth)
    
    Pans the map such that the popup is totaly viewable (if necessary)
    Parameters:
    
    
    
        
        | Name | Type | Description | 
    
    
    
        
            
                | dialogWidth | number | The width of the dialog in pixels | 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
setContentHTML(contentHTML)
    
    Allows the user to set the HTML content of the popup.
    Parameters:
    
    
    
        
        | Name | Type | Description | 
    
    
    
        
            
                | contentHTML | string | HTML for the div. |