?
Solved

Problem with GMap 2.3 - PHP Google Maps

Posted on 2011-04-19
4
Medium Priority
?
236 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

0
Comment
Question by:genesisvh
  • 3
4 Comments
 

Author Comment

by:genesisvh
ID: 35427423
Anyone?
0
 
LVL 111

Accepted Solution

by:
Ray Paseur earned 2000 total points
ID: 35431990
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
 

Author Comment

by:genesisvh
ID: 35453617
Actually found the solution I was using too many variables and all you need is the class $address. Thanks Ray!
0
 

Author Closing Comment

by:genesisvh
ID: 35453619
Thanks for the quick response
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to dynamically set the form action using jQuery.
Suggested Courses

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question