Merged r1559:r1587 from source:/sandbox/crschmidt/noprototype. OpenLayers is now Prototype-free(tm).

git-svn-id: http://svn.openlayers.org/trunk/openlayers@1588 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Schuyler Erle
2006-10-05 14:50:47 +00:00
parent 33c37ef78b
commit 67ced536c0
51 changed files with 688 additions and 1963 deletions
+4 -4
View File
@@ -7,9 +7,9 @@
*
* @requires OpenLayers/Layer/Markers.js
*/
OpenLayers.Layer.GeoRSS = Class.create();
OpenLayers.Layer.GeoRSS = OpenLayers.Class.create();
OpenLayers.Layer.GeoRSS.prototype =
Object.extend( new OpenLayers.Layer.Markers(), {
OpenLayers.Util.extend( new OpenLayers.Layer.Markers(), {
/** store url of text file
* @type str */
@@ -130,7 +130,7 @@ OpenLayers.Layer.GeoRSS.prototype =
}
if (!sameMarkerClicked) {
var popup = this.createPopup();
Event.observe(popup.div, "click",
OpenLayers.Event.observe(popup.div, "click",
function() {
for(var i=0; i < this.layer.map.popups.length; i++) {
this.layer.map.removePopup(this.layer.map.popups[i]);
@@ -138,7 +138,7 @@ OpenLayers.Layer.GeoRSS.prototype =
}.bindAsEventListener(this));
this.layer.map.addPopup(popup);
}
Event.stop(evt);
OpenLayers.Event.stop(evt);
},
/**