I have read thru that and was able to setup a test page that has the map control on the page, a text box and submit button, you enter an address and hit the submit and it marks it on the map.. but im not going to be displaying a map on my page, im needing the lat and long of the address entered into my textbox so that i can pass those values to my query.
So im looking for a way to get the lat and long returned from the google api so i can use it in my query, is that possible? On Jan 17, 6:58 pm, "[email protected]" <[email protected]> wrote: > On Jan 17, 3:10 pm, cubangt <[email protected]> wrote: > > > Im implementing a search on our site.. since all our records are > > stored with Lat and long i think i need to use geocoding to pass in > > the address they enter, but in return i need the lat and long for that > > address so i can pass it to my query. > > that is the main purpose of a geocoder, to convert (postal) addresses > to latitude and longitude coordinates. > > > > > Is it possible to pass in a address say "Dallas, Tx" and have the lat > > and long of that returned so it can be passed into my query? No one > > needs to see the values, just when you when you enter it, it converts > > it to lat and long. > > Have you looked at the documentation for the > geocoder?http://code.google.com/apis/maps/documentation/javascript/v2/referenc... > > or the geocoding web > service?http://code.google.com/apis/maps/documentation/geocoding/ > > -- Larry > > > > > > > thank you.- Hide quoted text - > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "Google Maps API V2" 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.
