0
I have a system where people put their addresses. I would like to know how to pick up an address and make it appear on the maps. Do you understand? Each person in the system will have a page where a map will appear with a mark on the place where the person lives.
Thanks for the help.
I will not put more than one tag on one map. Each user profile will have a single map with a tag
– GustavoSevero
i understood pretty much everything, just did not understand how to display the data in json format on google maps, understood?
– GustavoSevero
You will use the latitude and longitude values returned in the localiton key in Geometry, something more or less Results[0].geometry.Location.lat and Results[0].geometry.Location.lng. You use these values to create markers.
– Silvio Lucena Junior
This I understood, but in what format should I use these values? In json format and placed directly inside the script or step the values by parameter? I didn’t get how to syntax.
– GustavoSevero
Here is a link with an example of how to use the API and how to use the query result. https://developers.google.com/maps/documentation/javascript/examples/geocoding-simple?hl=pt-br
– Silvio Lucena Junior
to facilitate my work of picking an address, sending to the site that converts into coordinates and make the coordinates return to the codes that generate the map, I decided to copy the entire site that generates the coordinates. However, I want the site to generate the coordinates without having to click the Serach button on the page, how could I do that? Phallus of that website http://universimmedia.pagesperso-orange.fr/geo/loc.htm
– GustavoSevero
Guys, I’m trying to put this div, but it doesn’t show up on my page. Do you have a problem if the page is in php? <div id="Googlemap" style="width:500px; height:380px;"></div>
– GustavoSevero