I'm building a website where I want to create the option that when registerd customers login for the first time they have to fill in their address, this address then gets put in my Google maps along side the others. So when visitors see my maps they can see all my customers geographically and click on them.
I'm building my site with PHP& mysql.
At login:
Has customer logged in before?
If not:
Get address from customer
Geolocate coordinates from address
Insert coordinates into database
In map:
Get all customers' coordinates, if they have been entered
Add each as a marker