I'm simply trying to convert a form field from street address => lat/long. Ideally, the user enters in either a zipcode or a full street address and a hidden field gets populated with the corresponding latitude/longitude. No map creation needed. No directions needed. Just a simple conversion. Any ideas?
You can use the Google Maps Geocoding web service. However, note that per the terms of service, you must display the results on a Google Map.
If you want to use JavaScript, you can use the Google Maps API Geocoder.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With