GM_GetOnlineLayerLocationMetadata

Queries an online layer for location-specific metadata (as a file). Mostly for WMS / WMTS where supported.

Syntax

C++
Copy
GM_Error_t32 __stdcall GM_GetOnlineLayerLocationMetadata
(
GM_LayerHandle_t32      aLayer,         // IN: Loaded online layer handle to query (or NULL to get top-most)
double                  aXCoord,        // IN: X coord in current projection
double                  aYCoord,        // IN: Y coord in current projection
char*                   aOutFilename,   // OUT: This will store the full path and filename to the downloaded file. Buffer must be at least _MAX_PATH
void*                   aReserved       // IN: Reserved for future use
);