ND changes to createPopup function. No functional changes here.

git-svn-id: http://svn.openlayers.org/trunk/openlayers@4130 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2007-08-30 17:53:01 +00:00
parent b55aca93fb
commit 2fdf43cc8c

View File

@@ -153,9 +153,9 @@ OpenLayers.Feature = OpenLayers.Class({
/**
* Method: createPopup
* Creates a popup object created from the 'lonlat', 'popupSize',
* and 'popupContentHTML' properties set in this.data. It uses
* this.marker.icon as default anchor.
* Creates a popup object created from the 'lonlat', 'popupSize',
* and 'popupContentHTML' properties set in this.data. It uses
* this.marker.icon as default anchor.
*
* If no 'lonlat' is set, returns null.
* If no this.marker has been created, no anchor is sent.
@@ -166,7 +166,10 @@ OpenLayers.Feature = OpenLayers.Class({
* closeBox - {Boolean} create popup with closebox or not
*
* Returns:
* {<OpenLayers.Popup.AnchoredBubble>}
* {<OpenLayers.Popup>} Returns the created popup, which is also set
* as 'popup' property of this feature. Will be of whatever type
* specified by this feature's 'popupClass' property, but must be
* of type <OpenLayers.Popup>.
*
*/
createPopup: function(closeBox) {