diff --git a/lib/OpenLayers/Control/OverviewMap.js b/lib/OpenLayers/Control/OverviewMap.js index f90fd7d54a..3b23300402 100644 --- a/lib/OpenLayers/Control/OverviewMap.js +++ b/lib/OpenLayers/Control/OverviewMap.js @@ -676,11 +676,14 @@ OpenLayers.Control.OverviewMap = OpenLayers.Class(OpenLayers.Control, { * Get a map location from a pixel location * * Parameters: - * overviewMapPx - {} + * overviewMapPx - {|Object} OpenLayers.Pixel or + * an object with a + * 'x' and 'y' properties. * * Returns: - * {} Location which is the passed-in overview map - * OpenLayers.Pixel, translated into lon/lat by the overview map + * {Object} Location which is the passed-in overview map + * OpenLayers.Pixel, translated into lon/lat by the overview + * map. An object with a 'lon' and 'lat' properties. */ getLonLatFromOverviewPx: function(overviewMapPx) { var size = this.ovmap.size;