loaders.gl support
| Type | API |
|---|---|
| — | WMC documents have no dedicated loader. Use WMSLoader to load each referenced WMS service. |
Implementation boundary
Read the context, then load the referenced service.
A WMC document is configuration and references, not the map pixels themselves. Use XML parsing for the document and a service source for each referenced WMS endpoint.
Document
Configured layers and service references
Parsing
@loaders.gl/documents for legacy documents
Map data
WMSLoader for referenced services
Status
No dedicated WMC loader in v5
Web Map Context is a legacy OGC document format for saving and exchanging a configured set of map layers.
Feature support
| Capability | Support | Recommendation |
|---|---|---|
| WMC document parsing | ❌ Not implemented | Parse XML with @loaders.gl/documents when maintaining legacy applications |
| WMC document writing | ❌ Not implemented | Keep application state in a modern JSON configuration |
| Referenced WMS layers | ✅ Supported separately | Use WMSLoader for each referenced service |
| Modern context exchange | ❌ Not implemented | OWS Context is documented separately but also has no dedicated loader |
Detailed guide
WMC format details
The support matrix below distinguishes the context document from the WMS services it references.
This page is retained so users can distinguish WMC from WMS. loaders.gl v5 supports the referenced WMS services, not the context document itself.