minor doc error & enhancement in Control.MousePostion, p=aabt, r=me (closes #1872)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@8494 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Éric Lemoine
2008-12-12 08:37:48 +00:00
parent 67f51ad972
commit f4e616342c

View File

@@ -59,8 +59,8 @@ OpenLayers.Control.MousePosition = OpenLayers.Class(OpenLayers.Control, {
/** /**
* APIProperty: displayProjection * APIProperty: displayProjection
* {<OpenLayers.Projection>} A projection that the * {<OpenLayers.Projection>} The projection in which the
* mousecontrol will display. * mouse position is displayed
*/ */
displayProjection: null, displayProjection: null,
@@ -68,7 +68,7 @@ OpenLayers.Control.MousePosition = OpenLayers.Class(OpenLayers.Control, {
* Constructor: OpenLayers.Control.MousePosition * Constructor: OpenLayers.Control.MousePosition
* *
* Parameters: * Parameters:
* options - {DOMElement} Options for control. * options - {Object} Options for control.
*/ */
initialize: function(options) { initialize: function(options) {
OpenLayers.Control.prototype.initialize.apply(this, arguments); OpenLayers.Control.prototype.initialize.apply(this, arguments);