[OpenLayers-Dev] [OpenLayers-Trac] [OpenLayers] #926: Google Style Popups

Bart van den Eijnden (OSGIS) bartvde at osgis.nl
Thu Feb 7 08:07:43 EST 2008

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 van den Eijnden
OSGIS, Open Source GIS

--------- Oorspronkelijk bericht --------
Van: Pierre GIRAUD <bluecarto at gmail.com>
Naar: dev at openlayers.org <dev at openlayers.org>
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
> 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 &lt;trac at openlayers.org&gt; wrote:
> &gt; #926: Google Style Popups
> &gt;
> &gt;   Reporter:  CloudAmber  |       Owner:  euzuro
> &gt;       Type:  feature     |      Status:  reopened
> &gt;   Priority:  minor       |   Milestone:  2.6 Release
> &gt;  Component:  Popup       |     Version:  2.4
> &gt; Resolution:              |    Keywords:
> &gt;      State:              |
> &gt;
> &gt; Comment (by euzuro):
> &gt;
> &gt;  Replying to [comment:14 pgiraud]:
> &gt;  &gt; Here's a new patch for this ticket.
> &gt;  &gt; As proposed, the FramedBubble doesn't inherit from an existing
> &gt;  Though, it behaves like an AnchoredBubble and offers the same
> &gt;  and APIProperties. I kept the same namespace. I'm not sure this is a
> &gt;  idea though.
> &gt;  &gt;
> &gt;  &gt; What this code does :
> &gt;  &gt;  - resize the bubble based on its content,
> &gt;  &gt;  - allow user to define his own bubble decoration by setting a
> &gt;  image and dimensions (see framedPopups.html and click on
> &gt;  decoration&quot;),
> &gt;  &gt;  - shift the map if bubble isn't entirely viewable
> &gt;  &gt;
> &gt;  &gt; What should be easy to add to the code :
> &gt;  &gt;  - the animated panning when map is shifted,
> &gt;  &gt;  - the animation when the popup is resized
> &gt;  &gt;
> &gt;  &gt; What the code is still missing :
> &gt;  &gt;  - a way to handle overflow 'auto' when the content size is too
> &gt;  &gt;  - the close button creation should rely on a property of the
> &gt;  &gt;  - a well documented procedure on how to create the decoration
> &gt;  properties (an image with dimensions is available on the
> &gt;  example page though)
> &gt;  &gt;
> &gt;
> &gt;  Pierre!!!! This is great work. I've got a window to do some OL work,
> &gt;  I'm going to take this excellent patch and I'm going to poke it a
bit to
> &gt;  see if I can't get it to fit inside the classical (but yes,
> &gt;  flawed) popup architecture.
> &gt;
> &gt;  Give me a day or so and let's see how it advances. Big Big Big
thanks for
> &gt;  your work on this... you have singlehandedly reeled in the diaspora
of the
> &gt;  original CloudAmber code. Bravo!
> &gt;
> &gt; --
> &gt; Ticket URL: &lt;http://trac.openlayers.org/ticket/926#comment:15&gt;
> &gt; OpenLayers &lt;http://openlayers.org/&gt;
> &gt; A free AJAX map viewer
> &gt;
> &gt; _______________________________________________
> &gt; Trac mailing list
> &gt; Trac at openlayers.org
> &gt; http://openlayers.org/mailman/listinfo/trac
> &gt;
> _______________________________________________
> Dev mailing list
> Dev at openlayers.org
> http://openlayers.org/mailman/listinfo/dev

More information about the Dev mailing list