【发布时间】:2020-05-13 09:45:15
【问题描述】:
我是 ionic 3 的初学者 我正在尝试使用 Json 在我的 ionic 3 上使用动态长 lat 嵌入 Google 地图 但我遇到了问题并且出错了 错误:资源 URL 上下文中使用了不安全的值
这是我的代码:
<iframe width="100%" height="100%" frameborder="0" style="border:0"
src="https://www.google.com/maps/embed/v1/place?key=MY_API_KEY&q={{det.latlong}}" allowfullscreen>
</iframe>
你是如何让它发挥作用的? 谢谢你
【问题讨论】:
标签: google-maps ionic-framework ionic3 embed ionic-native