How to Make Stunning Geomaps in R: A Complete Guide with Leaflet | by Dario Radečić | Dec, 2020
Popups provide a neat and clean way of displaying more information whenever you click on a marker of interest. You’ll use them to add information on the time of the earthquake, it’s magnitude, depth, and place.
You can use the
paste0 function to add the data. If you want something styled, you can use various HTML tags. For example, the
<strong> tag will make a portion of the text bold, and
<br> makes a line break:
Here’s the corresponding output:
Read More …