[OpenLayers-Trac] [OpenLayers] #495: Method to clear popups on map click

OpenLayers trac at openlayers.org
Fri Jul 13 09:54:21 EDT 2007


#495: Method to clear popups on map click
-------------------------+--------------------------------------------------
  Reporter:  openlayers  |       Owner:  euzuro     
      Type:  feature     |      Status:  new        
  Priority:  minor       |   Milestone:  2.5 Release
 Component:  Popup       |     Version:  2.3 RC2    
Resolution:              |    Keywords:             
-------------------------+--------------------------------------------------
Comment (by crschmidt):

 This seems like an application-level event: simply register for map.events
 'click', and handle it by closing popups. Markers don't have anything
 built into the library -- ti's at the application level, and sometimes in
 the layer. (if you have a specific layer you care about, mention that and
 we can investigate an option for it, though it can still be done at
 application level.)

-- 
Ticket URL: <http://trac.openlayers.org/ticket/495#comment:2>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list