Update plot full detail url on map click

This commit implements the functionality of the existing "Full Details" button on the map page by updating the href of the link whenever the map is clicked.