On Jan 29, 2:20 pm, fearless_fool <[email protected]> wrote: > I want to build upon the example code found in: > > http://code.google.com/apis/maps/documentation/javascript/examples/pl... > > It works fine from the above URL, but when I copy the source code and past > it into a local file, opening the local file results in a javascript > console error: > > "Uncaught ReferenceError: google is not defined" > > ... and the input form doesn't autocomplete, etc. Sure enough, when I look > at the source, I see references to 'google' but no definition. What am I > missing?
A valid reference to the API. This (from that example): //maps.googleapis.com/maps/api/js?sensor=false&libraries=places won't work. See the documentation: http://code.google.com/apis/maps/documentation/javascript/tutorial.html#Loading_the_Maps_API -- Larry -- 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.
