Adapter factory for a WMS 1.3.0 endpoint.
The canonical Source.query() is implemented through point-only GetFeatureInfo. Reach Source.protocol("wms") for raw GetMap / GetLegendGraphic access (with TIME / ELEVATION dimension handling and CRS axis-order swap per WMS 1.3 ยง6.7.3.2).
Source.query()
GetFeatureInfo
Source.protocol("wms")
GetMap
GetLegendGraphic
const wms = dataset.source("usgs-imagery")!.protocol("wms");const png = await wms!.getMap({ layers: ["topo"], bbox: [-158, 21, -157, 22], crs: "EPSG:4326", width: 512, height: 512,}); Copy
const wms = dataset.source("usgs-imagery")!.protocol("wms");const png = await wms!.getMap({ layers: ["topo"], bbox: [-158, 21, -157, 22], crs: "EPSG:4326", width: 512, height: 512,});
Adapter factory for a WMS 1.3.0 endpoint.
The canonical
Source.query()is implemented through point-onlyGetFeatureInfo. ReachSource.protocol("wms")for rawGetMap/GetLegendGraphicaccess (with TIME / ELEVATION dimension handling and CRS axis-order swap per WMS 1.3 ยง6.7.3.2).