Hi I have a problem with setting up a layer from a textfile with popups with a closebox. Since OpenLayers.Layer.Text class inherits from the Marker-class I took a look at the popupMatrix example. So I just inserted the following lines in the Textlayer class:
markerFeature.popupClass = OpenLayers.Popup.FramedCloud; markerFeature.closeBox = true; I get the framed clouds but no closebox. In the createPopup method of the Feature class I set closeBox = true. Now I have a closebox in the popup but when closing the popup by clicking on the closebox I'm not able to open the popup again. So why it's not possible to add closebox by adding the lines above? And why is the popup not opening again after closing it? Thanks for any help? regards Stefan Mit freundlichem Gruss Stefan Ziegler Leiter Aufsicht Kanton Solothurn Bau- und Justizdepartement Amt für Geoinformation Rötistrasse 4 4501 Solothurn Telefon 032 627 75 96 Telefax 032 627 75 98 [EMAIL PROTECTED] http://www.so.ch
_______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
