OpenLayers. Control. MousePosition

The MousePosition control displays geographic coordinates of the mouse pointer, as it is moved about the map.

Inherits from

Summary
OpenLayers. Control. MousePositionThe MousePosition control displays geographic coordinates of the mouse pointer, as it is moved about the map.
Properties
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.
displayProjection{OpenLayers.Projection} The projection in which the mouse position is displayed
Constructor
OpenLayers. Control. MousePosition

Properties

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.

displayProjection

{OpenLayers.Projection} The projection in which the mouse position is displayed

Constructor

OpenLayers. Control. MousePosition

Parameters

options{Object} Options for control.
Class for coordinate transforms between coordinate systems.
Controls affect the display or behavior of the map.
Close