example of yahoo geocoding with googles maps

Posted on 2006-04-18
Last Modified: 2012-06-27
hello anyone have an example of the yahoo geocode with google maps in asp?  thanks.
Question by:christampa
    LVL 6

    Expert Comment

    Maybe this will help:

    "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."
    LVL 3

    Author Comment

    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,

    LVL 3

    Author Comment

    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");"GET", "" + addr, false);
    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;

    Accepted Solution

    PAQed with points refunded (500)

    Community Support Moderator

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    I feel like more and more people want to know how to programmatically convert addresses into geospatial locations. So in this article, I will show you how you can do it with Bing Maps. I'm going to use PowerShell, which is a nice scripting language,…
    Introduction This article is designed to assist GIS (Geographic Information System) and GPS (Global Positioning System) developers using ESRI ArcGIS and other spatial information management systems.   For the uninitiated the concept of projectio…
    This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
    This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…

    760 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

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now