MapChart.MaxScale

Syntax

MaxScale: Number;

Description

The MaxScale property sets maximum possible map scale.

Comments

Property value can be set from JSON or using the setMaxScale property.

By default the property is set to 9000.

Example

To execute the example the HTML page must contain the MapChart component named map (see Example of Creating the MapChart Component). Set maximum and minimum possible map scale:

// Set maximum scale
map.setMaxScale(1.5);
// Set minimum scale
map.setMinScale(0.7);

After executing the example map scale can be increased to maximum 150% and decreased to 70%.

See also:

MapChart