See, the idea is to create a link with latitutde and longitude and all the necessary information that you want to show in map.
If your data is too bulky, put the database id for the corresponding record with the link and fetch data when user requests.
I wrote a popular article on GMap, you can have a look into it:
Google Maps in HTML, ASP.NET, PHP, JSP etc. with ease