[OpenLayers-Trac] [OpenLayers] #883: GeoRSS layer does not use OpenLayers.Popup.WIDTH and HEIGHT for popups

OpenLayers trac at openlayers.org
Sat Aug 4 02:55:46 EDT 2007


#883: GeoRSS layer does not use OpenLayers.Popup.WIDTH and HEIGHT for popups
---------------------------------------------------+------------------------
 Reporter:  openlayers                             |       Owner:  crschmidt  
     Type:  bug                                    |      Status:  new        
 Priority:  minor                                  |   Milestone:  2.5 Release
Component:  Layer.GeoRSS                           |     Version:  2.4        
 Keywords:  georss,popups,popup size,width,height  |  
---------------------------------------------------+------------------------
 GeoRSS layers specify a hardcoded width and height for the markers'
 popups. It would be preferable if it would use OpenLayers.Popup.WIDTH and
 OpenLayers.Popup.HEIGHT instead, which would allow the popup sizes to be
 configured via these constants.

 The path is in Layers/GeoRSS.js around line 146.
 Simply replace data.popupSize with this:

 data.popupSize = new
 OpenLayers.Size(OpenLayers.Popup.WIDTH,OpenLayers.Popup.HEIGHT);

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


More information about the Trac mailing list