OpenLayers.Control.MousePosition

Inherits from

Summary
OpenLayers.Control.MousePosition
Properties
element{DOMElement}
prefix{String}
separator{String}
suffix{String}
numDigits{Integer}
granularity{Integer}
lastXy{OpenLayers.LonLat}
displayProjection{OpenLayers.Projection} A projection that the mousecontrol will display.
Constructor
OpenLayers.Control.MousePosition
Functions
destroy
draw{DOMElement}
redraw
formatOutputOverride to provide custom display output
setMap

Properties

element

{DOMElement}

prefix

{String}

separator

{String}

suffix

{String}

numDigits

{Integer}

granularity

{Integer}

displayProjection

{OpenLayers.Projection} A projection that the mousecontrol will display.

Constructor

OpenLayers.Control.MousePosition

Parameters

options{DOMElement} Options for control.

Functions

destroy

destroy: function()

draw

draw: function()

{DOMElement}

redraw

redraw: function(evt)

formatOutput

formatOutput: function(lonLat)

Override to provide custom display output

Parameters

lonLat{OpenLayers.LonLat} Location to display

setMap

setMap: function()
This class represents a longitude and latitude pair
Class for coordinate transforms between coordinate systems.
destroy: function()
draw: function()
{DOMElement}
redraw: function(evt)
formatOutput: function(lonLat)
Override to provide custom display output
setMap: function()
Controls affect the display or behavior of the map.
Close