I've no idea what you think the images in Streetview are if they aren't photos ...
> ... what is the simplest > way to replace Lat/Long by postal address? That all depends. Where is the address held now? Presumably you're talking about an address held server-side, not something a user types in on a form on the page. So, making that assumption: If you have just one or a handful of addresses, you could look them up on maps.google.com, note the lat/longs, and store that server-side with your address. Or, you could geocode the address server side, and pass the lat/long down to the webpage for immediate use by the javascript there. The how-to for HTTP geocoding is in the links you were given earlier. http://code.google.com/apis/maps/documentation/services.html#Geocoding_Direct Or, you could pass the address down to the page and have it geocoded from javascript. The how-to for geocoding from the javascript API is in the links you were given earlier. http://code.google.com/apis/maps/documentation/services.html#Geocoding If you have a whole database of addresses, you can set up an efficient system to geocode each address on an as-required basis, but store the result to save doing it again next time. If you don't like Google's geocoding services, there are several others you can choose from http://groups.google.com/group/google-maps-api/web/resources-non-google-geocoders I couldn't say which is simplest, it depends how many you have to do and what you are most comfortable coding with. > Can I use hidden form fild? > Something like: > <input type="hidden" name="postal_address" value="<?php echo "$street > $city $state $country $zip"; ?>"> If you're comfortable doing it that way, do it. Another simple way is to write javascript direct echo "<script ... >"; echo " myString = ' <?php echo $street . $city . $state . $country . $zip; ?> ' ; " ; echo "</script>" ; -- 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.
