Documentation

Scaling map objects

The Static API allows you to change the size of objects on the map: increase the font size on lablels, and display larger geographical objects (buildings, roads, bus stops and metro stations, etc.). This might be useful, for instance, when displaying maps on screens with higher resolution. All the map objects are enlarged proportionally while retaining high image quality.

Use the scale parameter for enlarging objects. It determines the coefficient for enlarging all objects on the map, and takes fractional values from 1.0 to 4.0.

Restriction. You can only increase the size of objects on the following map layers: “roadmap” (l=map), “names of geographical objects” (l=skl), and “traffic” (l=trf). If you try to enlarge objects for the “satellite” layer (l=sat), the server returns an error with the 400 code.

Note. When the scale parameter is set, placemarks added to the map are also enlarged.

The example below shows a request for a map image with the scale parameter set to 1.5.

https://static-maps.yandex.ru/1.x/?lang=en_US&?l=map&pt=37.601,55.6,org&scale=1.5&size=450,450

URL parametersspn URL parametersz