Ticket #2494 (new feature)
Opened 3 years ago
GeoRSS layer - add link target propery
|Reported by:||Turban||Owned by:||crschmidt|
The default behavior of OpenLayers.Layer.GeoRSS is to open links shown in marker popups in a new browser window (target="_blank"). This seems to be hardcoded GeoRSS.js (line 203): http://trac.openlayers.org/browser/trunk/openlayers/lib/OpenLayers/Layer/GeoRSS.js
This behavior is annoying, especially if the link leads to a page on the same site.
It would be better to add link target as a property OpenLayers.Layer.GeoRSS. The default value could still be "_blank" to ensure backward compatibility.