我正在尝试将静态地图上传到该站点,并收到以下消息:
Failed to load http://static-maps.yandex.ru/1.x/?size=390,270&l=map&pl=0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0&pt=0,0,round: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://www.mysite.ru' is therefore not allowed access.
可能是什么问题呢?文档说它可以免费使用而无需密钥。
特地为你准备的,今天静态api响应中添加了cors headers,你可以使用它)