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. Scale The Scale control displays the current map scale as a ratio (e.g.
Properties
geodesic {Boolean} Use geodesic measurement.
Constructor
OpenLayers. Control. Scale

Properties

geodesic

{Boolean} Use geodesic measurement.  Default is false.  The recommended setting for maps in EPSG:4326 is false, and true EPSG:900913.  If set to true, the scale will be calculated based on the horizontal size of the pixel in the center of the map viewport.

Constructor

OpenLayers. Control. Scale

Parameters

element {DOMElement}
options {Object}
Controls affect the display or behavior of the map.
Close