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
|
* 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;
|
||||||
|
|||||||
Reference in New Issue
Block a user