On Apr 20, 11:17 am, admin eastlondonlines <[email protected]> wrote: > I wonder if anyone can helps with this one- it's probably very simple. > > // ====== Geocoding ====== > var search = document.getElementById("search").value; > function showAddress(theaddress) { > var search = '26 pepys road se14 5sb'; > // ====== Perform the Geocoding ====== > geo.getLocations('26 pepys road se14 5sb', function (result) > > This geo.getLocations request above doesn't seem to work when I > replace > 'var search = document.getElementById("search").value;' with a string, > I get a > 'Result of expression 'geo' [undefined] is not an object.' error. > > Any tips?
Works in this page: http://www.geocodezip.com/example_geo2.asp?addr1=26%20pepys%20road%20se14%205sb&geocode=1 -- Larry > > a|x > > -- > 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 > athttp://groups.google.com/group/google-maps-api?hl=en. -- 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.
