Displaying a URL saved in a dataframe in a label

Yes, you would be better off using popup. The popup vs label controversy in leaflet is a major mess.

Displaying an clickable link is a pretty common use case; you might find an inspiration in this earlier post:

Note that you will get away with a less complex construction of the anchor tag than in the linked example, but an anchor tag there must be.

5 Likes