How to get map scale

Discussion created by digy79 on Oct 13, 2010
Latest reply on Oct 23, 2010 by ciava.at
Hi forum,

I'm developing an application template using the Javascript APIs v 2.1. and I would ask if is there a way to retrieve the map scale simply?
I cannot find any example or clear API documentation about this.
For example, in OpenLayers, you can obtain the current denominator of the map using the getScale() function.

Thx in advance