• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 238
  • Last Modified:

Problem with GMap 2.3 - PHP Google Maps

I had bought a script from here: php google maps and have been using the attached php script. It apparently stopped working with this error "602: Unable to Geocode this address"

Can anyone tell me if there is another solution?
<?php
	require_once('gmap.php');
        $gmap = new GMap();
	$cross = $result['cross_streets'];
	$county = $result['county'];
	$town = $result['town'];
	$state = 'New York';
        $gmap->showLocation($cross, $county, $state );

?>

Open in new window

0
genesisvh
Asked:
genesisvh
  • 3
1 Solution
 
genesisvhAuthor Commented:
Anyone?
0
 
Ray PaseurCommented:
error "602: Unable to Geocode this address"

Uhh, what address?  Did you try printing out the data you passed to the $gmap->showlocation() method?  What did it contain?
0
 
genesisvhAuthor Commented:
Actually found the solution I was using too many variables and all you need is the class $address. Thanks Ray!
0
 
genesisvhAuthor Commented:
Thanks for the quick response
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now