The MousePosition control displays geographic coordinates of the mouse pointer, as it is moved about the map.
ALKMaps. | The MousePosition control displays geographic coordinates of the mouse pointer, as it is moved about the map. |
Properties | |
autoActivate | {Boolean} Activate the control when it is added to a map. |
element | {DOMElement} |
prefix | {String} |
separator | {String} |
suffix | {String} |
numDigits | {Integer} |
granularity | {Integer} |
emptyString | {String} Set this to some value to set when the mouse is outside the map. |
lastXy | {ALKMaps.Pixel} |
displayProjection | {ALKMaps.Projection} The projection in which the mouse position is displayed |
Constructor | |
ALKMaps. | |
Functions | |
destroy | |
activate | |
deactivate | |
draw | {DOMElement} |
redraw | |
reset | |
formatOutput | Override to provide custom display output |
{ALKMaps.Projection} The projection in which the mouse position is displayed
formatOutput: function( lonLat )
Override to provide custom display output
lonLat | {ALKMaps.LonLat} Location to display |
destroy: function()
activate: function()
deactivate: function()
{DOMElement}
draw: function()
redraw: function( evt )
reset: function( evt )
Override to provide custom display output
formatOutput: function( lonLat )