Hi Mehdi, We didn't like having to make a change so late in the game that had that kind of impact on the API, but the reason for the change has to do with changing some of our bindings to use JavaScript overlay types. The 1.5 developer's guide has some notes about it:
http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5&s=google-web-toolkit-doc-1-5&t=DevGuideOverlayTypes Essentially, it makes the representation of some of the objects lighter weight - less generated JS code, less memory and CPU used at runtime. We focused on the types that might have many instances in one map. The downside is that there are a number of restrictions on JS overlay types, and using a public constructor is one thing that is not allowed. -Eric. On Fri, Sep 26, 2008 at 3:11 PM, Mehdi Rabah <[EMAIL PROTECTED]> wrote: > Hi, > Just out of curiosity : why did you changed the constructor in gwt-maps api > to the newInstance() static function? > > Regards, > Mehdi > > > > -- Eric Z. Ayers - GWT Team - Atlanta, GA USA http://code.google.com/webtoolkit/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
