[OpenLayers-Dev] New, sexy, popups -- I need your help! -- GIMP/Inkscape users?

Rupert de Guzman rndguzmanjr at gmail.com
Mon Feb 18 07:20:09 EST 2008


Hi Erik,

[1] Demo is really nice.

[2] I downloaded
(http://dev.openlayers.org/sandbox/camptocamp/FramedPopups/lib/OpenLayers/Popup/FramedBubble.js
) and tested but it did not work for my OpenLayers + ExtJS app. The
array problem bit me. Just a note to others who may encounter the same
issue.

for (var i in blocks) {

should be

for (var i = 0; i < blocks.length; i ++){

Regards,

Rupert


On Feb 15, 2008 4:42 PM, Erik Uzureau <euzuro at gmail.com> wrote:
> Dear Dev and Users,
>
> I have been working the last week or so on getting a new style of
> openlayers popups coded and
> up to speed.
>
> The original version was developed and graciously contributed by the
> folks at CloudAmber.
>
> Two weeks ago, the good and noble Pierre Giraud took the CloudAmber
> code and some code
> worked on by the amazing people at TOPP, smooshed them together into
> the following demo:
> http://dev.openlayers.org/sandbox/camptocamp/FramedPopups/examples/framedPopups.html
>
> ...which was an amazing job and the real catalyst in this whole situation.
>
>
> At the TOPP coding bunker, I took this sandbox, played around with it
> a little bit, and came up
> with a design that allowed us all the functionality of the above two
> revisions, plus:
>
> * inherits from OpenLayers.Popup.Anchored (instead of re-implementing
> a ton of functions)
> * bubbles up the 'autoSize' and 'panIntoView' functions to the base
> Popup class so that everyone
>  can use them
>
> and finally
>
> * allows the popup to be framed in all four relative directions (tl,
> tr, bl, br) by merely adding some
>   new framing code.
>
>
> The last bit here is where I've reached the limits of my own
> knowledge. For whatever reason, I
> have repeatedly been unsuccessful at producing an alpha-layered image,
> despite valiant efforts.
>
> Therefore, my killer demo of the new, sexy popup looks like this:
> http://dev.openlayers.org/sandbox/euzuro/pop/examples/framedPopups.html
>
> The problem, then, is that this image:
> http://trac.openlayers.org/browser/sandbox/euzuro/pop/img/cloud-popup-relative.PNG
>
> is not properly alpha-ized.
>
> And so I ask your help. Is there anyone out there who could help me to
> re-alpha-ize the image?
> There will be some tricky issues with the shadows, and perhaps it
> would be easier to start with
> this original one:
> http://trac.openlayers.org/browser/sandbox/camptocamp/FramedPopups/img/popup.png
> ..and then add the three new stems yourself.
>
>
> Anyways, hopefully this email isn't already too long that anyone will
> actually read it. If you think
> you could help me, please drop me a line.
>
> Best,
> Erik
> _______________________________________________
> Dev mailing list
> Dev at openlayers.org
> http://openlayers.org/mailman/listinfo/dev
>



More information about the Dev mailing list