[OpenLayers-Trac] [OpenLayers] #698: add close box option to AnchoredBubble

OpenLayers trac at openlayers.org
Mon May 7 09:56:29 EDT 2007


#698: add close box option to AnchoredBubble
---------------------------+------------------------------------------------
 Reporter:  johnwebbcole   |       Owner:             
     Type:  bug            |      Status:  new        
 Priority:  minor          |   Milestone:  2.4 Release
Component:  general        |     Version:  2.4 RC3    
 Keywords:  AnchoredPopup  |  
---------------------------+------------------------------------------------
 There is no option to open an AnchoredBubble with a close box.  When
 adding one by overriding the AncoredBubble initialize function, it doesn't
 work because the reRound function chops off the zero and second element in
 the parent list, which deletes the close box.

 I've modified the popup so that it places the contentDiv and the closebox
 inside a groupDiv so the reRound function can operate normally.  I've also
 modified the feature.createPopup to accept a closeBox parameter to pass on
 to the AnchoredBubble constructor.  The test_popup.html is also modified
 to pass the tests.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/698>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list