Leaflet-geosearch OpenStreetMapProvider问题

问题描述 投票:0回答:1

我在leaflet-geosearch OpenStreetMapProvider中遇到问题,在控制台中出现错误:

在请求的资源上没有'Access-Control-Allow-Origin'标头。因此,不允许访问源'http://localhost:3001'。

“在此处输入图像描述”“ >>

我在Leaflet-geosearch OpenStreetMapProvider中遇到问题,我在控制台中收到一个错误:所请求的资源上没有'Access-Control-Allow-Origin'标头。来源'http:// localhost:3001'...

leaflet geocoding
1个回答
-1
投票

这是Nominatim服务器的503错误。 50x errors是Web服务器端(而不是您的代码)上的故障,而503通常是暂时的过载或中断。您必须等待它。

© www.soinside.com 2019 - 2024. All rights reserved.