-2

Can I add a custom directive or custom HTML code to a marker's pop-up message using ngx-leaflet?

Ma Ko
  • 1
  • 2

1 Answers1

1

For adding non-Angular HTML to a marker's pop-up, you should be able to use setContent, which is a vanilla Leaflet method.

https://leafletjs.com/reference-1.3.0.html#popup-setcontent

comikal268
  • 11
  • 1