I'm a little concerned about the way googles' gmap object (and the
~100s of other helper objects and functions) instantiate themselves as
implied globals. I would prefer to scope these somehow.

Douglas Crockfords javascript coding guidelines (http://
javascript.crockford.com/code.html) states that the usage of the
global namespace should be kept to a minimum. Declaring variables
before use, closures/anonymous functions ... these strategies have
served me well until now but they obviously can't be applied to 3rd
party code.

Is it going to be possible to change this behaviour or should I just
suck-it-up, after all this isn't preventing my code from working? I'm
initilizaing gmaps by including a script tag in the head - nothing
unusual.

Thanks for your time, Peter.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to