On 15 December 2011 09:06, Kasper <[email protected]> wrote: > Yes, but still, when I remove one of the two, the error is still > there... > And when I include the geometry library, does it automatically also > include the rest?
The documentation isn't great. You only need one line which looks generally like this: <script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?sensor=true"></script> The part before the ? loads the API. Everything after the ? (apart from sensor=something) is optional and varies the behaviour of the API: you can include libraries, specify a particular version, specify two kinds of localisation and a callback function for asynchronous loading. To include more than one library you use a comma-separated list. So something like this is possible, which should be all together on one line. This loads the API with all the specified options. <script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?sensor=false&v=3.5&libraries=geometry,places®ion=GB&language=ja"></script> -- 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.
