Hi -
I have an openlayers popup dialog box and the callback method defined in
the constructor isn't being called when the dialog box "close" button is
pressed.
I have searched the openlayers user list and can't find what I'm going
wrong. The big problem is that when the dialog box is displayed the item
that is selected when the dialog box is displayed is staying selected.
This is a a big problem. This is my code...
popup = new OpenLayers.Popup("featurePopup123",
feature.geometry.getBounds().getCenterLonLat(),
new OpenLayers.Size(300, 150), html, null, true,
function() {
popupControl.unselectAll();
map.removePopup(popup);
});
popup.autoSize = true;
popup.addCloseBox();
I've tried several version of openlayers and am currently using 2.7.4.
thanks,
Douglas Kunzman
12201 Sunrise Valley Drive
Reston, VA 20192
Phone: 703 648-4234
[email protected]_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users