OgcApiTilesLayer.Initialize Method
Initialize()
Initializes the OgcApiTilesLayer instance.Syntax
public void Initialize ()
Remarks
This method initializes an OgcApiTilesLayer which involves sending multiple requests to an OGC API Service in order to get the necessary metadata to create an OgcApiTilesServerLayer instance which correnspond to an OGC API collection hosted by the Server.
In normal operation this method is called automatically when a view that contains an OgcApiTilesLayer is updated or if application code accesses properties that require the layer to be initialized before they can return relevant information, most notably the layer hierarchy accessed through the Layers property. It can also be called explicitly by an application, for example to find out what an OGC API collection provides without actually displaying anything.
Explicit calls to this method ignore the ThrowExceptions property and will always throw exceptions if errors occur.
Platforms
Windows, Linux, Android