Fix OpenLayers.Control.OverviewMap.getLonLatFromOverviewPx apidoc
This commit is contained in:
@@ -676,11 +676,14 @@ OpenLayers.Control.OverviewMap = OpenLayers.Class(OpenLayers.Control, {
|
||||
* Get a map location from a pixel location
|
||||
*
|
||||
* Parameters:
|
||||
* overviewMapPx - {<OpenLayers.Pixel>}
|
||||
* overviewMapPx - {<OpenLayers.Pixel>|Object} OpenLayers.Pixel or
|
||||
* an object with a
|
||||
* 'x' and 'y' properties.
|
||||
*
|
||||
* Returns:
|
||||
* {<OpenLayers.LonLat>} 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;
|
||||
|
||||
Reference in New Issue
Block a user