On Jul 25, 11:59 pm, Austin <[email protected]> wrote: > I am new with the google maps api so I really don't know much about > it. > > I want to create a custom field in my wordpress website, where the > admin types in an address in this field and it will display a map > based on that address in the website. I just need to create a script > that will use a php var to generate a map. Is this possible and if so > how would I go about doing this?
You need to geocode the address and use the resulting coordinates to center the map. See: http://code.google.com/apis/maps/documentation/javascript/v2/services.html#Geocoding http://code.google.com/apis/maps/documentation/javascript/v2/articles.html and this tutorial might help: http://econym.org.uk/gmap/ -- Larry > > Thanks. -- 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.
