Class: Geoportail

Geoportail


new Geoportail(layer [, options] [, tileoptions])

IGN's Geoportail WMTS layer definition

Parameters:
Name Type Argument Description
layer string

Layer name

options olx.layer.WMTSOptions <optional>

WMTS options if not defined default are used

Properties
Name Type Description
gppKey string

Geoportail API key

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

Methods


<static> getCapabilities(gppKey)

Get Key capabilities

Parameters:
Name Type Description
gppKey string

the API key to get capabilities for

Returns:

Promise-like response

Type
*

<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
*