I have my database set up with 2 fiels Latitude and Longitude. These two fields are populated in the Database and also visible in the show details part of the picture. What I want to do is add a link that takes the Lat Long info for that picture and puts it in a google maps search so that a when the page loads the viewer is looking at a pushpin of where that picture is from. Does anyone have any thoughts on how to do this?
So basically I have found a bunch of code that will take the lat long from the database and display it on a google map but I do not still have the pieces that make the link on the single image page direct the viewer to that exact image. Basically I just want the php to tell google maps to populate the search bar with the numbers from the lat and long with the N and W sign as well, and go to that location. So far no luck although there was a tutorial on how to populate the google map with all my database points : P