Google chrome http tileLayer wms over https站点强制在Chrome中使用https
刚刚发布了一篇文章,但可能与Chrome浏览器更相关。 问题是:Google chrome http tileLayer wms over https站点强制在Chrome中使用https,google-chrome,https,leaflet,wms,Google Chrome,Https,Leaflet,Wms,刚刚发布了一篇文章,但可能与Chrome浏览器更相关。 问题是: 我的站点是HTTPS,我使用的是HTTP WMS服务。WMS服务不支持HTTPS 在加载时,WMS层被迫使用HTTPS,这将提供404 这只发生在铬上;Firefox一直在调用HTTP端点,因此工作正常 例如: 有什么帮助吗 L.tileLayer.wms("http://ign.es/wms-inspire/ign-base?", { layers: "IGNBaseOrto"
- 我的站点是HTTPS,我使用的是HTTP WMS服务。WMS服务不支持HTTPS
L.tileLayer.wms("http://ign.es/wms-inspire/ign-base?", {
layers: "IGNBaseOrto"
}).addTo(map)
L.tileLayer.wms("http://servicios.internet.ine.es/WMS/WMS_INE_SECCIONES_G01/MapServer/WMSServer", {
layers: "Secciones2019",
format: 'image/png',
transparent: true,
attribution: 'Instituto Nacional de Estadística',
version: '1.3.0'
}).addTo(map)