I’m trying to learn more about js and I saw a cool example of a map with some custom pins on it. I’m trying to do something similar but make the pins clickable so they go to some URL when clicked. The way that map is setup the pins aren’t clickable and appear to be just for illustration.
I tried putting tags around the pins, but it appears the pins are positioned using “absolute” and seem to ignore my attempts to make each of the entire pins clickable.
Can anyone show me how I could do this? The jsfiddle is below: