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