Skip to main content
Participant
July 14, 2018
Answered

specific product location on Google Maps

  • July 14, 2018
  • 2 replies
  • 423 views

Hi Guys,

I am trying to create a website that will display certain products, vis SQL based the selection from the menu.  So far this works fine.  What I am after, and really haven't found any good tutorials on it, is how to list them in a google  map.  I am not looking at just location a certain business around a persons location but rather a specific product that that business cars.  An example might be a person whats to see what store near him carries a specific type of banana, so when he click on the product banana it would show up on google maps with all the businesses that carry the specific banana.  I am pretty sure that this would be SQL driven and the name, addresses, city, etc of these businesses would have to be in a database.

Any help is appreciated.

Thanks

This topic has been closed for replies.
Correct answer Nancy OShea

Here's another link to a tutorial that's more relevant to your question.

Using MySQL and PHP with Google Maps  |  Maps JavaScript API  |  Google Developers

2 replies

Nancy OShea
Community Expert
Nancy OSheaCommunity ExpertCorrect answer
Community Expert
July 14, 2018

Here's another link to a tutorial that's more relevant to your question.

Using MySQL and PHP with Google Maps  |  Maps JavaScript API  |  Google Developers

Nancy O'Shea— Product User & Community Expert
Participant
July 15, 2018

Thank you.  This is exactly what I was looking for.

Nancy OShea
Community Expert
Community Expert
July 14, 2018

You could write a script that exports SQL data to a CSV file and then import that it into a Google Map.

Import map features from a file - Computer - My Maps Help

Nancy O'Shea— Product User & Community Expert