Chirs,
Speaking of loading libraries, have you guys consider on-demand load
options? Although there is only one lib right now, but if eventually
this list grows, and an app needs use multiple of them, loading them
upfront may cause necessary initialization delays, because those libs
may not needed immediately.
Something along the lines of:
google.maps.event.addListener(someControl, 'click', function(){
function doSomethingWithGeometryLib(){
}
if (google.maps.geometry){
doSomethingWithGeometryLib();
} else {
google.maps.load('geometry', doSomethingWithGeometryLib); // as
callback
}
});
On Feb 9, 8:52 pm, Chris Broadfoot <[email protected]> wrote:
> You need to load the geometry library via the libraries parameter in the
> bootstrap.
>
> Look
> here:http://code.google.com/apis/maps/documentation/javascript/basics.html...
>
> Chris
>
>
>
> On Thu, Feb 10, 2011 at 5:45 AM, Carlos <[email protected]> wrote:
> > Hola, alguien sabe porque dice que este objeto (google.maps.geometry)
> > no está definido en API, en la documentación en inglés aparece pero en
> > la docuemntación en español no. Hay diferencia según el language del
> > API??? no van por la misma versión?
>
> > En la versión inglesa de la documentación dice que está actualizado:
>
> > Last updated Tuesday, February 8, 2011
>
> > y en la vesión española esto:
>
> > Última actualización: 15 de junio de 2010
>
> > En la vesión inglesa veo este objecto y en la versión española no.
> > Alguien me puede ayudar please?
>
> > Gracias.
>
> > --
> > 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.
>
> --http://twitter.com/broady
--
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.