Using "@mapbox/mapbox-sdk": "^0.13.2"
to create a style.
I want to add a WMS source to my style as this example shows https://docs.mapbox.com/mapbox-gl-js/example/wms/
This works fine in the browser but when I try and add
'wms-test-source', { 'type': 'raster', 'tiles': ['url_to_WMS_source'], 'tileSize': 256 }
Using the Mapbox SDK https://github.com/mapbox/mapbox-sdk-js/blob/main/docs/services.md#createstyle
I get this error "message": "source.tiles: Unsupported property \"tiles\""
According to their docs this is possible https://docs.mapbox.com/mapbox-gl-js/style-spec/sources/
If anyone has any suggestions they would be greatly appreciated