Adding WMS layer to WAB Custom Widget

10-13-2020 05:16 AM
New Contributor III

I have develop 2D Custom Widget, and I would like to add a new layer from WMS Service (no ESRI).

More precisely, I would like to use one of layers of this WMS Service:

So, I include the following code in widget.js without any result.

How can I add a new wms layer to when execute widget ?

        this.wmsLayer = new WMSLayer({
          url: "",
          sublayers: [{name: "mtc5m"}]
0 Kudos
1 Reply
New Contributor III

I would like to share these references that I have found

I'm still working on that, any help would be appreciated.

Thanks in advance !

0 Kudos