new WMTSCapabilities(options)
Parameters:
| Name | Type | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| options | * | Properties
 | 
Fires:
- event:load
- event:capabilities
Extends
Members
- 
    error
- 
    
    Error list: a key/value list of error to display in the dialog Overwrite it to handle internationalization - Inherited From:
- Overrides:
 
- 
    labels
- 
    
    Form labels: a key/value list of form labels to display in the dialog Overwrite it to handle internationalization - Inherited From:
- Overrides:
 
- 
    supportedSets
- 
    
    An array of supported sets (basically EPSG:3857) - Inherited From:
- Overrides:
 
Methods
- 
    clearForm()
- 
    
    Clear form - Inherited From:
- Overrides:
 
- 
    getCapabilities(url, options)
- 
    
    Get WMS capabilities for a server Parameters:Name Type Description urlstring service url options* PropertiesName Type Argument Default Description mapstring WMS map or get map in url?map=xxx versionstring <optional> 
 1.3.0 WMS version (yet only 1.3.0 is implemented), default 1.3.0 timeoutnumber <optional> 
 10000 timout to get the capabilities, default 10000 onloadfunction <optional> 
 callback function - Inherited From:
- Overrides:
 
- 
    getDialog()
- 
    
    Get the dialog - Inherited From:
- Overrides:
 Returns:- Type
- ol.control.Dialog
 
- 
    getLayerFromOptions(options)
- 
    
    Create a new layer using options received by getOptionsFromCap method Parameters:Name Type Description options* 
- 
    getOptionsFromCap(caps, parent)
- 
    
    Return a WMTS options for the given capabilities Parameters:Name Type Description caps* layer capabilities (read from the capabilities) parent* capabilities - Overrides:
 Returns:options - Type
- *
 
- 
    getRequestParam(options)
- 
    
    Get Capabilities request parameters Parameters:Name Type Description options* - Overrides:
 
- 
    isSupportedSet(tm)
- 
    
    Check if the TileMatrixSet is supported Parameters:Name Type Description tmObject Returns:- Type
- boolean
 
- 
    loadLayer(url, layername [, onload])
- 
    
    Load a layer using service Parameters:Name Type Argument Description urlstring service url layernamestring onloadfunction <optional> 
 callback function (or listen to 'load' event) - Inherited From:
- Overrides:
 
- 
    setMap(map)
- 
    
    Set the map instance the control is associated with and add its controls associated to this map. Parameters:Name Type Description map_ol_Map_ The map instance. - Inherited From:
- Overrides:
 
- 
    showCapabilities(caps)
- 
    
    Display capabilities in the dialog Parameters:Name Type Description caps* JSON capabilities - Inherited From:
- Overrides:
 
- 
    showDialog( [url], options)
- 
    
    Show dialog for url Parameters:Name Type Argument Description urlstring <optional> 
 service url, default ask for an url options* capabilities options PropertiesName Type Description mapstring WMS map or get map in url?map=xxx versionstring WMS version (yet only 1.3.0 is implemented), default 1.3.0 timeoutnumber timout to get the capabilities, default 10000 - Inherited From:
- Overrides:
 
- 
    showError(error)
- 
    
    Display error Parameters:Name Type Description error* event - Inherited From:
- Overrides:
 
- 
    testUrl(url)
- 
    
    Test url and return true if it is a valid url string Parameters:Name Type Description urlstring - Inherited From:
- Overrides:
 Returns:- Type
- bolean