> // Make the link the first time when the page opens > makeLink(); > makeLink2(); > makeLink3();
I don't know what that does, out of context. > What changes would I need to do for it to accept postcodes and how > would it need to be in the URL? > > Is this a clue? When I link into Google Maps using this URL it works > fine...http://maps.google.co.uk/maps?f=q&hl=en&q=S425NH, UK Yes, Find out how to read the URL querystring in javascript. Find out how to test for a parameter having a value or not. Choose a course of action based on the test. If a postcode is given, geocode it. There are many tutorials, examples, and discussions in this group about how to do that. If a lat/long is given, use that. If nothing or rubbish was given, do something else. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
