在< img>的src中加载图像时,我没有得到谷歌地图的街景图像在ionic2中标记.它在
Android设备上工作正常,但在iPhone中,它给出了错误
@H_404_19@解决方法
Failed to load resource: the server responded with a status of 403 (Forbidden)
以下是代码:
<img src="http://maps.googleapis.com/maps/api/streetview?size=400x200&location=28.68627380000001,77.22178310000004&key=<API_KEY>”/>
在上面的代码行中
<API_KEY>
是Api键.
为什么它没有在iPhone设备上显示?