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 this.map when execute widget ?
I would like to share these references that I have found
https://github.com/vojvod/CMV_addWMSLayer_Widget/blob/master/js/gis/dijit/WMSLayer2.js
https://community.esri.com/message/906115-load-a-wms-map-service-to-map
I'm still working on that, any help would be appreciated.
Thanks in advance !