We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

Problem with GMap 2.3 - PHP Google Maps

genesisvh
genesisvh asked
on
Medium Priority
259 Views
Last Modified: 2012-05-11
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

Comment
Watch Question

Author

Commented:
Anyone?
Most Valuable Expert 2011
Author of the Year 2014
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
Actually found the solution I was using too many variables and all you need is the class $address. Thanks Ray!

Author

Commented:
Thanks for the quick response
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.