I'm having trouble following the antecedant of "which" in your question. Did you compare your code to one of the examples? http://code.google.com/intl/en/apis/maps/documentation/javascript/geocoding.html
The geocoder is an Instance of google.maps.Geocoder(), so you can name it whatever you want. That Instance has a method named "geocode," which takes several arguments. One of the arguments is often called a GeocodeRequest, but it is just an object literal composed of several parts. You could create that literal and assign it to a javascript variable (giving it whatever name you want), but most of the Google examples just insert the literal into the method call. - Jeff On Jan 5, 6:52 pm, smgfan <[email protected]> wrote: > i am trying to pass an argument to the geocode method of the geocoder, > which is obviously supposed to be a "GeocoderRequest" > problem is - there is no GeocoderRequest, as revealed through inspecting > the DOM of google.maps with firebug. > and since it also does not accept a simple string as argument, how is one > supposed to call this? -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
