The MousePosition control displays geographic coordinates of the mouse pointer, as it is moved about the map.
OpenLayers. | The MousePosition control displays geographic coordinates of the mouse pointer, as it is moved about the map. |
Properties | |
element | {DOMElement} |
prefix | {String} |
separator | {String} |
suffix | {String} |
numDigits | {Integer} |
granularity | {Integer} |
lastXy | {OpenLayers.Pixel} |
displayProjection | {OpenLayers.Projection} The projection in which the mouse position is displayed |
Constructor | |
OpenLayers. | |
Functions | |
destroy | |
draw | {DOMElement} |
redraw | |
formatOutput | Override to provide custom display output |
setMap |
{OpenLayers.Projection} The projection in which the mouse position is displayed
formatOutput: function( lonLat )
Override to provide custom display output
lonLat | {OpenLayers.LonLat} Location to display |
destroy: function()
{DOMElement}
draw: function()
redraw: function( evt )
Override to provide custom display output
formatOutput: function( lonLat )
setMap: function()