Визиком карты

Options of the map

This page shows how to remove the scale ruler and sets the maximum and minimum scales of the map.

Example implementation

Source code:

var map;
map = new VMap(document.getElementById('viewport'),
{
    zoomControl:
        {
        ruler: false,
        min: 6,
        max: 10
    }
});

The map options can be set only during object creation.