Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我可以使用 ngx-leaflet 将自定义指令或自定义 HTML 代码添加到标记的弹出消息吗?
要将非 Angular HTML 添加到标记的弹出窗口中,您应该能够使用 setContent,这是一种普通的 Leaflet 方法。
https://leafletjs.com/reference-1.3.0.html#popup-setcontent