Ticket #883 (closed bug: fixed)
GeoRSS layer does not use OpenLayers.Popup.WIDTH and HEIGHT for popups
| Reported by: | openlayers | Owned by: | crschmidt |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.5 Release |
| Component: | Layer.GeoRSS | Version: | 2.4 |
| Keywords: | Cc: | ||
| State: |
Description
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);
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

