example of yahoo geocoding with googles maps

hello anyone have an example of the yahoo geocode with google maps in asp?  thanks.
LVL 3
christampaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

WilliamFrantzCommented:
Maybe this will help:

http://www.codeproject.com/Ajax/GeoLocation.asp

"Yahoo! has a very cool (and free) Web Service for GeoCoding. However, the trick is to make Yahoo!'s service play nice with Google Maps."
0
christampaAuthor Commented:
i already saw that before the post, it didnt help.  

that is the thing i got the google to work with another geocode, but it isnt as accurate as yahoo.

i also tried the yahoo maps with yahoo geocode, but there is no way to do the directions like google.  

i need an example of a google map, using yahoo geocode.  if you have any please send it,

thanks.
0
christampaAuthor Commented:
i got the answer here is the function to get it from the xml file

function alertLatLong(addr)
{
var oXML = new ActiveXObject("Msxml2.XMLHTTP.4.0");
oXML.open("GET", "http://api.local.yahoo.com/MapsService/V1/geocode?appid=yahoo&street=" + addr, false);
oXML.send();
var oRes = oXML.responseXML;
var oLat = oRes.selectSingleNode("//*[local-name() = 'Latitude']").text;
var oLong = oRes.selectSingleNode("//*[local-name() = 'Longitude']").text;
var oAddress = oRes.selectSingleNode("//*[local-name() = 'Address']").text;
var oCity= oRes.selectSingleNode("//*[local-name() = 'City']").text;
var oState = oRes.selectSingleNode("//*[local-name() = 'State']").text;
var oZip = oRes.selectSingleNode("//*[local-name() = 'Zip']").text;
}
0
GranModCommented:
PAQed with points refunded (500)

GranMod
Community Support Moderator
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
GIS/GPS Programming

From novice to tech pro — start learning today.

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.