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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user