我正在尝试在我的agm映射中合并iconUrl属性。但是,当我收到此答复时,我不明白为什么。
<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>
答案 0 :(得分:0)
从iconUrl属性中删除方括号