On Dec 17, 11:11 am, B <brannon.h...@gmail.com> wrote: > I'm trying to add a directions page to my company's site. I put the > address intohttp://maps.google.com, and it finds it with no issues. > However, when I try to use it via the API, I get an error that says > the address cannot be found. Does anyone know of any reason why the > API method would not be able to locate an address?
http://www.geocodezip.com/example_geo2.asp?addr1=245%20W%20Roosevelt%20Rd,%20West%20Chicago,%20IL%2060185&geocode=1 I get 2 different locations for that input address: [ 0 ]: 245 W Roosevelt Rd, West Chicago, IL 60185, USA (41.8663484, -88.2076246) [ 1 ]: 32W245 W Roosevelt Rd, West Chicago, IL 60185, USA (41.88182, -88.2561501) Neither one matches up with: ATI.GoogleMaps.LatLon = new GLatLng(41.86887, -88.209566); http://www.geocodezip.com/example_geo2.asp?addr1=245%20W%20Roosevelt%20Rd,%20West%20Chicago,%20IL%2060185&geocode=1&addr2=(41.86887,%20-88.209566)&geocode=2 I think you might need to use coordinates that are closer to W. Roosevelt, currently GDirections thinks the coordinates that you provide are on Pearl Rd. -- Larry Seehttp://www.assemtech-inc.com/new/directions.phpfor the map/ > directions. If you're using Firebug, check out the maps.js script. It > has most of the Google-specific code. > > In an attempt to get around this, I ran into another issue. I'm > placing an icon on a different map (http://www.assemtech-inc.com/new/ > company.php) using a lat/lon. When I tried to use the lat/lon as the > "to:" part of the directions on the previous page, the directions > ended at a different location. > > I used both methods (address & lat/lon) in the directions- > advanced.html example page. Both resulted in the same behaviors. Any > help anyone can give would be greatly appreciated. > > B --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to Google-Maps-API@googlegroups.com To unsubscribe from this group, send email to google-maps-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---