Version:
Popular examples
Map
Geo objects
Balloon and hint
Controls
Hotspots
Clustering
GeoQuery
Behaviors and events
Search on a map
Traffic
User's location
Routing
YMapsML
GeoXML
ObjectManager
Modular system
Panoramas
External modules

General parameters

Save as filesEdit on JSFiddle

The main parameters of the map are the viewport, mapping area, and map type.

When creating a map, you must specify its center and zoom level. You can change them in the future.

The API provides three built-in map types:

  • Scheme (yandex#map) - by default;
  • Satellite (yandex#satellite);
  • Hybrid (yandex#hybrid).

The map type is implemented as one or several layers superimposed on each other. It is possible to define new types of maps by creating your own layers and/or combining the pre-existing ones.

Пишете на JavaScript? У нас есть вакансии
Mon Oct 31 2022 13:07:35 GMT+0300 (Moscow Standard Time)