解决geocore跨域访问
在使用了geoserver发布了矢量切片地图并使用了https://github.com/Leaflet/Leaflet.VectorGrid插件访问之后,莫名的出现了跨域问题:nResponse to preflight request doesn’t pass access control check: No ‘Access-Control-Allow-Origin
在使用了geoserver发布了矢量切片地图并使用了https://github.com/Leaflet/Leaflet.VectorGrid插件访问之后,莫名的出现了跨域问题:nResponse to preflight request doesn’t pass access control check: No ‘Access-Control-Allow-Origin