v3. If for no other reason than v2 is deprecated. Chad Killingsworth
On Sep 29, 8:03 am, wshuart <[email protected]> wrote: > Ugh... ok.. Sorry about that. > Which api is better to use for a KML overlay? > > On Sep 27, 5:54 pm, Rossko <[email protected]> wrote: > > > > > You're using V2 of the API. > > V2 group is herehttp://groups.google.com/group/Google-Maps-API > > > But do see the V2 documentation ; here's an example > > http://code.google.com/apis/maps/documentation/javascript/v2/services... > > Note that the GGeoXml call is within the same function as the map > > initialization, so that 'map' is in the same scope and has been > > initialized before trying to add things to it.. > > > In your case, 'map' is hasn't yet been initialized when you > > addOverlay. I would expect your browser to tell you that, if you look > > at javascript errors. -- 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.
