Add a WMS source
Add an external Web Map Service raster layer to the map using the addSource
function’s tiles
option. This will allow you to seamlessly integrate external content from the specified WMS URL into your map.
Related examples
An extension of MapLibre GL JS