Ticket #1743 (new feature)
OpenLayers.Layer.GeoRSS markers should correlate to original feed
| Reported by: | openlayers | Owned by: | crschmidt |
|---|---|---|---|
| Priority: | minor | Milestone: | Future |
| Component: | Layer.GeoRSS | Version: | 2.7 RC3 |
| Keywords: | GeoRSS item feature marker correlation | Cc: | jacobsonl@… |
| State: |
Description
This is a follow on to bug #1742.
Currently the OpenLayers.Layer.GeoRSS class uses the OpenLayers.Format.GeoRSS class to parse a GeoRSS XML document and produce an array of Vector features which contain "fid" and "link" properties. Without subclassing and duplicating a lot of code, there is no clean way of correlating a marker on the map with the original RSS feed.
If the "fid" and "link" were maintained from the OpenLayers.Format.GeoRSS feature to the OpenLayers.Layer.GeoRSS feature, we could relate all information properly.
The reason we want to do this is that we want to maintain the new/old/read icon each time the feed is reloaded. In the future this could also be used to more intelligently update the layer when a feed is reloaded such that only the necessary markers were removed thus avoiding flicker.
