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

Changing the map type

Save as filesEdit on JSFiddle

YMapsML is a language for describing geographical data. You can use YMapsML to configure the appearance of geographical objects displayed on the map, as well as to set parameters for the map itself.

To set the map parameters, use the repr:View YMapsML element. You can use it to set the type and area for the map viewport. In this example, the map is set to the "satellite" type.

Use the geoXml.load function for uploading YMapsML data.

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