You can generate pins with custom text labels. This is very helpful when trying to render lots of data and you are trying to tie the map markers to other content on your page such as tables or lists.
You can generate pins with icons as labels. This is very helpful when you render the same object quite often but in different locations as it helps the user recognize it quickly. Plus you can convey meaning easily.