Knowledge Base



KB10898 - Make z zoom expressed as a percentage.

The following offers an idea of how to set map scale as a percentage.

  double minScale = 1/1000000 ; // like 1: 1000 000

  double maxScale =1/5000 ;     // like 1 : 5000
  double value ; // to be expressed in 0..100 (like percent)
  GIS.Scale = ( value/100 * ( maxScale-minScale) ) + minScale ;

Created: February 24, 2014, Modified: March 04, 2015
follow us on Facebook  follow us on Twitter  follow us on Google +  follow us on LinkedIn  Embarcadero