diff --git a/lib/OpenLayers/Marker.js b/lib/OpenLayers/Marker.js index dbb44a86da..7a681d3c9c 100644 --- a/lib/OpenLayers/Marker.js +++ b/lib/OpenLayers/Marker.js @@ -135,7 +135,8 @@ OpenLayers.Marker = OpenLayers.Class({ * Move the marker to the new location. * * Parameters: - * px - {} the pixel position to move to + * px - {|Object} the pixel position to move to. + * An OpenLayers.Pixel or an object with a 'x' and 'y' properties. */ moveTo: function (px) { if ((px != null) && (this.icon != null)) {