How to get geolocation from a UK postal code
问题 I have a PHP script at the moment which allows users to enter a UK postcode. I was wondering if there was a way I could get their geolocation from the postcode they enter. (Through Google's API or something?) I have tried http://code.google.com/apis/maps/documentation/geocoding/index.html but it requires a full address, whereas I only have a postcode. Help would be appreciated, thanks :) Peter 回答1: You could check out the Yahoo PlaceFinder API Heres an example URL http://where.yahooapis.com