Select to view content in your preferred language

How can I add WMS catastro to WMSLayer?

206
0
05-11-2023 03:49 AM
EmilioLópezPeña
New Contributor

I have been working with sdk javascript for a short time.

I want to add the WMS service from http://ovc.catastro.meh.es/cartografia/INSPIRE/spadgcwms.aspx as a layer.

I have tried with const layer = new WMSLayer({ url: "http://ovc.catastro.meh.es/cartografia/INSPIRE/spadgcwms.aspx" });

It gives me cors error.

How to create the layer with the cadastre service?

Thanks

0 Kudos
0 Replies