I would like to implement Google Maps on my website but I do not know how to do it exactly. In the profile of the users I have a section where they indicate their address (Province, street, CP, etc.) I would like to be able to show the location of the users (when they allow it). I had thought of doing something like this:
The google maps URI is composed of https://www.google.es/maps/place/
let's say it is the base and indicates the place by adding each word separated by a +
for example: https://www.google.es/maps/place/rambla+de+catalunya+110
then take all the user's information and separate each word and join it all in a URI so that you can directly access that address.
I know it seems a little shabby but it's the first thing that has occurred to me. If anyone knows any way to make it a little more professional, I would appreciate it. In case it was necessary to know, in my website I use PHP, MYSQL, JS as languages
Any proposal is welcome