[OpenLayers-Users] textlayer: popups with closebox

Matthias Woltering woltering at gmail.com
Wed Feb 11 18:29:21 EST 2009


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

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. 

Regards,
Matthias


Christopher Schmidt-2 wrote:
> 
> 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.openlayers.org/library/overlays#transitioning-from-text-layer-or-georss-layer-to-vectors
> 
> (I have no personal desire to continue to support the Text Layer going
> forward.)
> 
> Regards,
> -- 
> Christopher Schmidt
> MetaCarta
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
> 
> 

-- 
View this message in context: http://n2.nabble.com/textlayer%3A-popups-with-closebox-tp2311841p2312129.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.




More information about the Users mailing list