Switch to using layer.ows_url