On May 21, 12:26 pm, "[email protected]" <[email protected]> wrote: > On May 21, 12:02 pm, simonDev88 <[email protected]> wrote: > > > Okay so it half works. (testing as we speak) if i redifine the map in > > the button click event, that way the entire map reloads with the new > > route planned on it. > > Is this the best way of doing it, or can i clean up the code a bit by > > passing the variables around a bit? > > > Also does googlemaps not pick up every location?, If i type in 2 > > locations. For e.g "speldhurst" and "epsom" i get a route planned out > > for me between the 2. > > If i then type "reading" and "london" I get a grey screen where the > > map used to be. Is this because google maps cannot find the specified > > place? > > No. It is because if you just type "reading" GDirections guesses > reading, > PAhttp://www.geocodezip.com/example_geo2.asp?addr1=reading&addr2=london... > and is unable to generate driving directions from Reading, PA in the > US to London in the UK. > > If you use "reading, UK", it > works:http://www.geocodezip.com/example_geo2.asp?addr1=reading,%20UK&addr2=... >
However, it does seem to be working for me if I type "reading" and "london" in the 2 boxes and click "Go", although it is hard to see the blue route and the "A" marker is out of view. -- Larry > > > > because reading is a major town and london is a major city, so surely > > it would be on googlemaps?- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
