Hi Pierre, one question, you said in the IRC meeting that the popups size themselves according to the content.
Is it currently possible to specify a maxWidth and maxHeight for the popups, and have scrollbars in them if the content exceeds the maximum dimension? Best regards, Bart -- Bart van den Eijnden OSGIS, Open Source GIS http://www.osgis.nl --------- Oorspronkelijk bericht -------- Van: Pierre GIRAUD <[EMAIL PROTECTED]> Naar: [email protected] <[email protected]> Onderwerp: Re: [OpenLayers-Dev] [OpenLayers-Trac] [OpenLayers] #926: Google Style Popups Datum: 07/02/08 09:14 > Please don't forget that Tim Coulter and Roald Ewit also worked on that too. > It would be helpfull for you to also check their work. > I think that Roald code is available in this ticket (or another one) > and tim's code can be found into the topp/nymap sandbox. It's worth > looking at this and maybe have a discussion with them. I would be also > happy to help you and talk about this on IRC when I'm available. > > Regards, > Pierre > > On Feb 7, 2008 7:20 AM, OpenLayers <[EMAIL PROTECTED]> wrote: > > #926: Google Style Popups > > -------------------------+-------------------------------------------------- > > Reporter: CloudAmber | Owner: euzuro > > Type: feature | Status: reopened > > Priority: minor | Milestone: 2.6 Release > > Component: Popup | Version: 2.4 > > Resolution: | Keywords: > > State: | > > -------------------------+-------------------------------------------------- > > Comment (by euzuro): > > > > Replying to [comment:14 pgiraud]: > > > Here's a new patch for this ticket. > > > As proposed, the FramedBubble doesn't inherit from an existing class. > > Though, it behaves like an AnchoredBubble and offers the same APIMethod > > and APIProperties. I kept the same namespace. I'm not sure this is a good > > idea though. > > > > > > What this code does : > > > - resize the bubble based on its content, > > > - allow user to define his own bubble decoration by setting a different > > image and dimensions (see framedPopups.html and click on "change > > decoration"), > > > - shift the map if bubble isn't entirely viewable > > > > > > What should be easy to add to the code : > > > - the animated panning when map is shifted, > > > - the animation when the popup is resized > > > > > > What the code is still missing : > > > - a way to handle overflow 'auto' when the content size is too large, > > > - the close button creation should rely on a property of the bubble, > > > - a well documented procedure on how to create the decoration bubble > > properties (an image with dimensions is available on the framedPopups.html > > example page though) > > > > > > > Pierre!!!! This is great work. I've got a window to do some OL work, so > > I'm going to take this excellent patch and I'm going to poke it a bit to > > see if I can't get it to fit inside the classical (but yes, admittedly, > > flawed) popup architecture. > > > > Give me a day or so and let's see how it advances. Big Big Big thanks for > > your work on this... you have singlehandedly reeled in the diaspora of the > > original CloudAmber code. Bravo! > > > > -- > > Ticket URL: <http://trac.openlayers.org/ticket/926#comment:15> > > OpenLayers <http://openlayers.org/> > > A free AJAX map viewer > > > > _______________________________________________ > > Trac mailing list > > [EMAIL PROTECTED] > > http://openlayers.org/mailman/listinfo/trac > > > _______________________________________________ > Dev mailing list > [email protected] > http://openlayers.org/mailman/listinfo/dev > > _______________________________________________ Dev mailing list [email protected] http://openlayers.org/mailman/listinfo/dev
