How to use CEH Digital River Network of Great Britain URL in my application as I am using feature service to display data from URL. https://arcg.is/1ebGvC0 this particular is providing external URL in WMS source. My question is how can I display this data in feature service and how can I generate that URL to display data in my application.
Solved! Go to Solution.
The url can be retrieved from the portion of the page that is indicated in the attached image. To add it to the application then just use a WMSLayer in the JS API.
The url can be retrieved from the portion of the page that is indicated in the attached image. To add it to the application then just use a WMSLayer in the JS API.
Thanks for reply, but after applying WMSLayer class in JS API. Still I am not able to display data in application. I think this might be the version problem because I'm using 4.14 version and WMSLayer is compatible with 4.4 version.
When I tested that service using 4.16 it worked but it took about a minute to finally draw on the map because of the rivers. If specify only the Canals sublayer it is much quicker.
var layer = new WMSLayer({
url: "https://catalogue.ceh.ac.uk/maps/a78c90a2-8da4-4f0a-9c6a-c1d1a4a3c2b0",
sublayers: [
{
name: "HY.PhysicalWaters.WaterBodies.Canals"
}
]
});