hi, i using WMSlayer to display radar data from Environment canada(https://www.canada.ca/en/environment-climate-change/services/weather-general-tools-resources/weather-tools-specialized-data/geospatial-web-services.html#toc2)
it works fine. the code looks like below, but i have an issue to display only partial service map. right now it always give me the whole north america map. but i would like to just show the portion of ontario, i thought setting the extent would do it but it didn't seem to work, what should i do? any idea?
var layer1 = new WMSLayerInfo({name:"RADAR_1KM_RRAI",title:"RADAR - Radar reflectivity (Rain) (1 km) [dBZ]" });