as part of my > > function calcRoute() { > > I wanted to see if this was working. So, at the very end of my script, I > added: > > document.getElementById("south").innerHTML = longsouth; > document.getElementById("west").innerHTML = latwest; > > Sounds like a scope issue. You trying to use the variables when they have gone out of scope. Can only 'use' them inside the loop.
-- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-maps-js-api-v3+unsubscr...@googlegroups.com. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. Visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en. For more options, visit https://groups.google.com/groups/opt_out.