Fix some problems in the documentation.
This commit is contained in:
@@ -35,7 +35,8 @@ OpenLayers.Control.ArgParser = OpenLayers.Class(OpenLayers.Control, {
|
||||
|
||||
/**
|
||||
* Property: layers
|
||||
* {Array(<OpenLayers.Layer>)}
|
||||
* {String} Each character represents the state of the corresponding layer
|
||||
* on the map.
|
||||
*/
|
||||
layers: null,
|
||||
|
||||
|
||||
@@ -333,11 +333,11 @@ OpenLayers.Control.GetFeature = OpenLayers.Class(OpenLayers.Control, {
|
||||
},
|
||||
|
||||
/**
|
||||
* Method selectHover
|
||||
* Method: selectHover
|
||||
* Callback from the handlers.hover set up when <hover> selection is on
|
||||
*
|
||||
* Parameters:
|
||||
* evt {Object} - event object with an xy property
|
||||
* evt - {Object} event object with an xy property
|
||||
*/
|
||||
selectHover: function(evt) {
|
||||
var bounds = this.pixelToBounds(evt.xy);
|
||||
@@ -459,7 +459,7 @@ OpenLayers.Control.GetFeature = OpenLayers.Class(OpenLayers.Control, {
|
||||
* Sets the multiple and toggle modifiers according to the current event
|
||||
*
|
||||
* Parameters:
|
||||
* evt {<OpenLayers.Event>}
|
||||
* evt - {<OpenLayers.Event>}
|
||||
*/
|
||||
setModifiers: function(evt) {
|
||||
this.modifiers = {
|
||||
|
||||
@@ -616,7 +616,7 @@ OpenLayers.Control.ModifyFeature = OpenLayers.Class(OpenLayers.Control, {
|
||||
* the mouse is over a vertex.
|
||||
*
|
||||
* Parameters:
|
||||
* {Integer} Key code corresponding to the keypress event.
|
||||
* evt - {Event} Keypress event.
|
||||
*/
|
||||
handleKeypress: function(evt) {
|
||||
var code = evt.keyCode;
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
* current map view. By default it is drawn in the lower right corner of the
|
||||
* map. The href is updated as the map is zoomed, panned and whilst layers
|
||||
* are switched.
|
||||
* `
|
||||
*
|
||||
* Inherits from:
|
||||
* - <OpenLayers.Control>
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user