Google map address search

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
fabby
Forum Commoner
Posts: 62
Joined: Tue Feb 15, 2005 1:06 am
Location: Romania
Contact:

Google map address search

Post by fabby »

Hi.
It is possible than, when i extract an adress from database, for example, the country, city, the street and the number, to appear the map and a point of the exact locaion?

Thanks.
jraede
Forum Contributor
Posts: 254
Joined: Tue Feb 16, 2010 5:39 pm

Re: Google map address search

Post by jraede »

Yep. You first have to talk to Google's geocoding servers to get the corresponding latitude and longitude, and then you can render a map with that point as its center, with a marker on it if you want. You should do some research on Google Maps API.
fabby
Forum Commoner
Posts: 62
Joined: Tue Feb 15, 2005 1:06 am
Location: Romania
Contact:

Re: Google map address search

Post by fabby »

Are you sure that it is possible to find a location and with the number of the street?
Look, for example when i searched for Romania, for Costila street if you look the number 9, or 10, google map it show's you the same street with the same dot...i hope you understand me what i try to say :).
Thanks.
internet-solution
Forum Contributor
Posts: 220
Joined: Thu May 27, 2010 6:27 am
Location: UK

Re: Google map address search

Post by internet-solution »

Google map coverage varies between countries. Only in a number of countries (e.g. USA, UK, Germany) you can get an exact location from a house number.
Post Reply