OpenLayers.Control.Scale

The Scale control displays the current map scale as a ratio (e.g.  Scale = 1:1M).  By default it is displayed in the lower right corner of the map.

Inherits from

Summary
OpenLayers.Control.ScaleThe Scale control displays the current map scale as a ratio (e.g.
Constructor
OpenLayers.Control.Scale
Functions
draw{DOMElement}
updateScale

Constructor

OpenLayers.Control.Scale

Parameters

element{DOMElement}
options{Object}

Functions

draw

draw: function()

Returns

{DOMElement}

updateScale

updateScale: function()
draw: function()
{DOMElement}
updateScale: function()
Controls affect the display or behavior of the map.
Close