It would make developing google maps a lot easier if there was no junk in
the global namespace :) I understand that it would break most maps if it
would be default, but a documented flag would be a very very welcome
addidtion, perhaps i should file a feature request.

Im kinda scared to change my whole system on the fact that the
"googleapionly" flag will perhaps not even stay availabkle :)


2008/10/29 pamela (Google Employee) <[EMAIL PROTECTED]>

>
> Hi Bjorn-
>
> This doesn't actually mean there will be no more maps stuff in the
> global namespace. If we did that for the normal loader, then
> everyone's code would stop working. :/
> If you actually want only namespaced classes, then you can request
> &file=googleapionly. That's not documented anywhere, however.
>
> - pamela
>
> On Oct 27, 4:32 pm, "Björn Brala" <[EMAIL PROTECTED]> wrote:
> > Im so happy to read this, finally a proper namespace for the google maps
> > stuff :P
> >
> > I've missed that for ages. This will mean there will be no google maps
> stuff
> > in the global namespace?
> >
> > 2008/10/27 pamela (Google Employee) <[EMAIL PROTECTED]>
> >
> >
> >
> > > Igloo-
> >
> > > Ok, maybe I'll check out that mountain. I'm sure I'll need to come to
> > > Brisbane sometime anyway. :)
> >
> > > Lance-
> > > ClientLocation will still only be available to those using the actual
> AJAX
> > > Common Loader (www.google.com/jsapi), as that uses a particular
> mechanism
> > > on their script-serving server that we won't be enabling on ours
> anytime
> > > soon.
> >
> > > - pamela
> >
> > > On Thu, Oct 23, 2008 at 9:36 PM, Lance Dyas <[EMAIL PROTECTED]>
> wrote:
> >
> > >> pamela (Google Employee) wrote:
> > >> > Hi developers-
> >
> > >> > Currently, there are a few ways to load in the Maps API:
> >
> > >> > 1) Use maps.google.com/maps?file=api: This puts global classes in
> your
> > >> > page like GMarker, GMap, etc.
> >
> > >> > 2) Use maps.google.com/maps?file=googleapi or use the AJAX common
> > >> > loader: This puts both the global classes in your page as well as
> > >> > namespaced classes like google.maps.Marker, google.maps.Map, etc.
> >
> > >> > 3) Use maps.google.com/maps?file=googleapionly: This puts just the
> > >> > namespaced classes in your page.
> >
> > >> > We introduced namespaces along with the common loader to encourage a
> > >> > more unified way of coding against Google AJAX APIs, but we kept the
> > >> > prefixed "G" classes to not confused the current developers.
> However,
> > >> > currently it's difficult to write extensions (like the LocalSearch
> > >> > Control) for developers, as one has to search the DOM for both a
> > >> > prefixed class or  a namespaced class, and then use the appropriate
> > >> > class. To make it easier for developers to create extensions that
> work
> > >> > independent of loading technique and to encourage more developers to
> > >> > use the common AJAX namespace, we will soon introduce a change that
> > >> > will also pass down the namespaced class with technique #1.
> >
> > >> > Let me know if you have any concerns or questions.
> >
> > >> > - pamela
> >
> > >> This feels like a coincidence of timing...
> > >>  I was just thinking I might want a GClientLocation or would that be
> > >> GLoader.clientLocation
> > >> or something of that sort.
> >
> > --
> > Bjorn Brala
> > ----------------
> > GeoStart.nl- Google maps - Swis Webdesign
> >
>


-- 
Bjorn Brala
----------------
GeoStart.nl- Google maps - Swis Webdesign

--~--~---------~--~----~------------~-------~--~----~
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