i write function getting latitude/longitude working fine address "150 london wall london, london, ec2y 5hn, united kingdom". address come below "calle pío verdú, vélez-málaga, 29700, malaga, spain". contains language specific characters. in case error comes , no value returned google map.
i passing these locations function contains
$address = urlencode($location); $url = "http://maps.google.com/maps/api/geocode/json?address=$address&sensor=false";
and via curl got result
please tell me doing wrong.
imo, because $location
variable not utf-8 encoded. check origin of variable sure utf-8 encoded.
Comments
Post a Comment