The scaling of the map

To change the map's scale along the point, induce the following functions:

var wspol = map.getCenterPos(); //Assign the current coordinates of the 
                                //middle point of the map for a variable "wspol"

map.setCenterPos(new EMAPI.LonLat(wspol),10); //substitution of the current coordinates 
                                              //and a new value of the scale



lon{Number} Longitude.
lat{Number} Latitude.

An example of the action:

--> Click to change randomly the scale from the range 0-17 <--