MapAPI.getScale

 

double getScale()

This method returns the denominator of the map's scale.  Map scales are always given in the form 1:n.  This method returns n.