Layer.GeoRSS should store the title and description attributes on the

created OpenLayers.Feature object for later access by applications. 
Patch, including tests, written by Ian Mayo, r=me. (Closes #1485)


git-svn-id: http://svn.openlayers.org/trunk/openlayers@7015 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2008-04-27 05:14:50 +00:00
parent dd92f8c730
commit 89231f1691
2 changed files with 9 additions and 1 deletions

View File

@@ -190,6 +190,10 @@ OpenLayers.Layer.GeoRSS = OpenLayers.Class(OpenLayers.Layer.Markers, {
new OpenLayers.Size(250, 120);
if (title || description) {
// we have supplemental data, store them.
data.title = title;
data.description = description;
var contentHTML = '<div class="olLayerGeoRSSClose">[x]</div>';
contentHTML += '<div class="olLayerGeoRSSTitle">';
if (link) {