[OpenLayers-Users] textlayer: popups with closebox

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


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).
Is there a better alternative? 

Thanks,
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-tp2311841p2312062.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.




More information about the Users mailing list