Re: [OpenLayers-Users] textlayer: popups with closebox

2009-08-28 Thread kmalk
sry .. seems like I was a little to fast .. and my browser refreshing a bit to slow .. my solution is no solution :( .. gomen .. kmalk wrote: > > By the way: If anyone wants the soultion for the post-question .. > -- View this message in context: http://n2.nabble.com/textlayer-popups-with

Re: [OpenLayers-Users] textlayer: popups with closebox

2009-08-28 Thread kmalk
By the way: If anyone wants the soultion for the post-question: add anchoredBubbleClass to textLayer for closeBehavior without changing html popup structure and showing only one popup at once OpenLayers.Feature.prototype.popupClass = OpenLayers.Popup.AnchoredBubble; OpenLayers.Layer.Text.protot

Re: [OpenLayers-Users] textlayer: popups with closebox

2009-08-28 Thread kmalk
Matthias Woltering wrote: > > But when I try it, I get a strange z-index error. Also, with this method > it is not possible to deactivate one of the layers. > Hi! Although some time passed, I wanted to know: Did you find a workable solution? Thanks, Katarzyna -- View this message in contex

Re: [OpenLayers-Users] textlayer: popups with closebox

2009-02-11 Thread Matthias Woltering
The example http://openlayers.org/dev/examples/sundials-spherical-mercator.html is exactly what I nedd, but with multiple layers! I found a possible solution with two layers in a sandbox: http://dev.openlayers.org/sandbox/ahocevar/singleroot/openlayers/examples/select-feature-multilayer.html Bu

Re: [OpenLayers-Users] textlayer: popups with closebox

2009-02-11 Thread Matthias Woltering
Hi Christopher, I tried the GML-method like this: mylayer = new OpenLayers.Layer.GML("layername", "data.txt", { format: OpenLayers.Format.Text }); But I have more than one Layer! So, as far as I know it's not possible to have more than one control activated. Thats why I'm using the TextLayer(s).

Re: [OpenLayers-Users] textlayer: popups with closebox

2009-02-11 Thread Christopher Schmidt
On Wed, Feb 11, 2009 at 02:25:55PM -0800, Matthias Woltering wrote: > > Hi, > > as far as I know, it's not possible to have closeboxes with a Text > layer. I would encourage anyone who wants to have this level of control over their popups or application behavior to read: http://docs.openlay

[OpenLayers-Users] textlayer: popups with closebox

2009-02-11 Thread Matthias Woltering
Hi, as far as I know, it's not possible to have closeboxes with a Text layer. But as you can see in the posting http://n2.nabble.com/Popup-closebox-and-formatting.-td1824504.html#a1824507 http://n2.nabble.com/Popup-closebox-and-formatting.-td1824504.html#a1824507 it's possible to create a new c