我正在尝试将iconUrl属性合并到我的agm映射中。然而,当我这样做时,我得到了这样的响应,我不明白为什么。

<agm-marker [latitude] = "currentLat" [longitude]= "currentLng"
[iconUrl]= "../../assets/images/polkaDots.jpg" >
<!-- Marker info -->
<agm-info-window>
<h3>You are here</h3>
<button>I am interested</button>
</agm-info-window>
</agm-marker>发布于 2019-11-23 14:01:21
从iconUrl属性中删除方括号
https://stackoverflow.com/questions/54799387
复制相似问题