Fix OpenLayers.Control.OverviewMap.getLonLatFromOverviewPx apidoc

This commit is contained in:
Frederic Junod
2012-01-15 18:13:27 +01:00
parent 5d173c1807
commit 098899d165

View File

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