I'm trying to find a way to access and display the map URL generated by the WMSLayer component for testing and debugging purposes. The only way I have been able to see this URL previously is when the map doesn't load properly and the broswer gives me an error popup. Does anybody know how I can access this programatically so that I can display it in a trace statement or an alert?