adding skeleton for anchored popup

git-svn-id: http://svn.openlayers.org/trunk/openlayers@333 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2006-05-24 23:14:34 +00:00
parent 147d91c056
commit 3ece5e35fd

View File

@@ -0,0 +1,46 @@
// @require: OpenLayers/Util.js
/**
* @class
*/
OpenLayers.Popup.Anchored = Class.create();
OpenLayers.Popup.Anchored.prototype =
Object.extend( new OpenLayers.Popup(), {
/**
* @constructor
*
* @param {String} id
* @param {OpenLayers.LonLat} lonlat
* @param {OpenLayers.Size} size
* @param {String} contentHTML
*/
initialize:function(id, lonlat, size, contentHTML) {
OpenLayers.Popup.prototype.initialize.apply(this, arguments);
},
/**
*/
destroy: function() {
OpenLayers.Popup.prototype.destroy.apply(this, arguments);
},
/**
* @param {OpenLayers.Pixel} px
*
* @returns Reference to a div that contains the drawn popup
* @type DOMElement
*/
draw: function(px) {
OpenLayers.Popup.prototype.draw.apply(this, arguments);
},
/**
* @param {OpenLayers.Pixel} px
*/
moveTo: function(px) {
OpenLayers.Popup.prototype.moveTo.apply(this, arguments);
},
CLASS_NAME: "OpenLayers.Popup.Anchored"
});