new Geoportail( [options] [, tileoptions])
Parameters:
Name | Type | Argument | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
olx.layer.WMTSOptions |
<optional> |
WMTS options if not defined default are used Properties
|
||||||||||||||||||||
tileoptions |
olx.source.WMTSOptions |
<optional> |
WMTS options if not defined default are used |
Extends
- ol.layer.Tile
Members
-
<static> capabilities
-
Default capabilities for main layers
-
<static> themes
-
List of theme with a regexp to filter layers by theme (with getcapabilities)
Methods
-
<static> getCapabilities(gppKey)
-
Get Key capabilities
Parameters:
Name Type Description gppKey
string the API key to get capabilities for
Returns:
Promise-like response, use then, catch and finally to get the response
- Type
- *
-
<static> isRegistered(layer)
-
Check if a layer registered with a key?
Parameters:
Name Type Description layer
string layer name
Returns:
- Type
- boolean
-
<static> loadCapabilities(gppKey)
-
Load capabilities from the service
Parameters:
Name Type Description gppKey
string the API key to get capabilities for
Returns:
Promise-like response
- Type
- *
-
<static> register(layer, capability)
-
Register new layer capability
Parameters:
Name Type Description layer
string layer name
capability
*