Various other ndoc tweaks for controls.

git-svn-id: http://svn.openlayers.org/trunk/openlayers@9156 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Tim Schaub
2009-03-31 22:05:30 +00:00
parent deaa52477b
commit fe0ddf9f21
4 changed files with 9 additions and 4 deletions

View File

@@ -165,7 +165,8 @@ OpenLayers.Control.GetFeature = OpenLayers.Class(OpenLayers.Control, {
"beforefeatureselected", "hoverfeature", "outfeature"], "beforefeatureselected", "hoverfeature", "outfeature"],
/** /**
* Constructor: <OpenLayers.Control.SelectFeature> * Constructor: OpenLayers.Control.GetFeature
* Create a new control for fetching remote features.
* *
* Parameters: * Parameters:
* options - {Object} A configuration object which at least has to contain * options - {Object} A configuration object which at least has to contain

View File

@@ -9,13 +9,16 @@
* West in small steps. By default it is drawn in the top left corner of the * West in small steps. By default it is drawn in the top left corner of the
* map. * map.
* *
* Note: If you wish to use this class with the default images and you want * Note:
* If you wish to use this class with the default images and you want
* it to look nice in ie6, you should add the following, conditionally * it to look nice in ie6, you should add the following, conditionally
* added css stylesheet to your HTML file: * added css stylesheet to your HTML file:
* *
* (code)
* <!--[if lte IE 6]> * <!--[if lte IE 6]>
* <link rel="stylesheet" href="../theme/default/ie6-style.css" type="text/css" /> * <link rel="stylesheet" href="../theme/default/ie6-style.css" type="text/css" />
* <![endif]--> * <![endif]-->
* (end)
* *
* Inherits from: * Inherits from:
* - <OpenLayers.Control.Panel> * - <OpenLayers.Control.Panel>

View File

@@ -23,7 +23,7 @@ OpenLayers.Control.Panel = OpenLayers.Class(OpenLayers.Control, {
/** /**
* APIProperty: defaultControl * APIProperty: defaultControl
* <OpenLayers.Control> The control which is activated when the control is * {<OpenLayers.Control>} The control which is activated when the control is
* activated (turned on), which also happens at instantiation. * activated (turned on), which also happens at instantiation.
*/ */
defaultControl: null, defaultControl: null,

View File

@@ -142,7 +142,8 @@ OpenLayers.Control.SelectFeature = OpenLayers.Class(OpenLayers.Control, {
handlers: null, handlers: null,
/** /**
* Constructor: <OpenLayers.Control.SelectFeature> * Constructor: OpenLayers.Control.SelectFeature
* Create a new control for selecting features.
* *
* Parameters: * Parameters:
* layers - {<OpenLayers.Layer.Vector>}, or an array of vector layers * layers - {<OpenLayers.Layer.Vector>}, or an array of vector layers