In the JS API you get a callback with any geocoding error and then you could
take the action you describe in that callback. I do that and ignore the
error in some situations and provide feedback to the user in other
situations.
http://code.google.com/apis/maps/documentation/services.html#Geocoding
Could you answer what the showAddress() function does? that would help folks
assist you.
Steve


On Sat, Jan 24, 2009 at 2:33 PM, dvancouver
<[email protected]>wrote:

>
> Thanks I will look into it but I know there is an easier way.  I
> should be able to run through the address and if no match show a
> default.  I know I do things a little different sometimes to achieve
> an end but I know this is the best route and cleanest for me.  Any one
> else have any clue how to do this, please.
>
> On Jan 24, 1:17 pm, Steve Schwarz <[email protected]> wrote:
> > On Sat, Jan 24, 2009 at 1:14 AM, dvancouver
> > <[email protected]>wrote:
>  >
> > >                    showAddress(\"".unHTML("$f[listing_address1] $f
> > > [listing_address2] $map_city, $map_state $f[listing_zip]
> > > $map_country")."\");
> >
> > I'm not sure what showAddress() actually does.
> >
> > But maybe you could divide and conquer. Does you program work for a
> single
> > known good address? I've seen problems with user entered addresses where
> > they enter "123 Edinburgh Lane" but Google requires "123 Edinburgh Ln"
> and
> > other such issues (mostly user typos). So I verify user entered
> addresses.
> > If you search on the web you can find geocoding services that that accept
> > CSV files so you can do bulk updates.
> >
> > Best Regards,
> > Steve
>  >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to