Map layers and types
The map image consists of one or more layers stacked on top of each other. For example, a layer of an area photographed by satellite can be covered with a layer of a roadmap for this area. Layers can be combined. Various combinations of layers form the existing map types (“Roadmap”, “Satellite”, “Hybrid”).
The list of necessary layers is set using the "l" parameter (the lowest layer should be specified first).
Layer | Image format | Description |
---|---|---|
map | PNG | Map of an area with names of geographical objects. |
sat | JPG | A satellite photo of the area. |
skl | PNG | Names of geographical objects. |
trf | PNG | Traffic jams layer. |
Layer | Image format | Description |
---|---|---|
map | PNG | Map of an area with names of geographical objects. |
sat | JPG | A satellite photo of the area. |
skl | PNG | Names of geographical objects. |
trf | PNG | Traffic jams layer. |
Layers can be combined. The available map types ("Roadmap," "Satellite" or "Hybrid") each correspond to a layer or specific combination of layers:
Examples for each map type are provided below:
Roadmap (l=map)
Map of the center of Istanbul:
https://static-maps.yandex.ru/1.x/?lang=&ll=28.98824,41.043451&spn=0.1,0.1&l=map
Roadmap showing traffic (l=map,trf,skl)
Roadmap of the center of Istanbul showing traffic:
https://static-maps.yandex.ru/1.x/?lang=&ll=28.98824,41.043451&spn=0.1,0.1&l=map,trf,skl
Satellite (l=sat)
Satellite map of the center of Istanbul:
https://static-maps.yandex.ru/1.x/?lang=&ll=28.98824,41.043451&spn=0.1,0.1&l=sat
Hybrid (l=sat,skl)
Hybrid map of the center of Istanbul (the map framework is on the "satellite" layer):
https://static-maps.yandex.ru/1.x/?lang=&ll=28.98824,41.043451&spn=0.1,0.1&l=sat,skl
Hybrid map showing traffic (l=sat,trf,skl)
Hybrid map of the center of Istanbul showing traffic:
https://static-maps.yandex.ru/1.x/?lang=&ll=28.98824,41.043451&spn=0.1,0.1&l=sat,trf,skl