Гугл теперь с видом со спутника

This commit is contained in:
Krivchikov Dmitry 2014-06-07 19:24:56 +04:00
parent 3bb891ee5e
commit b970f102bc
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ function init() {
ymaps.mapType.storage.add('osm#type', new ymaps.MapType('OpenStreetMap', ['osm#layer']));
googleLayer = function () {
return new ymaps.Layer('http://mt0.google.com/vt/lyrs=m@176000000&hl=ru&%c', {projection: ymaps.projection.sphericalMercator,tileTransparent: true});
return new ymaps.Layer('http://mt0.google.com/vt/lyrs=s@176000000&hl=ru&%c', {projection: ymaps.projection.sphericalMercator,tileTransparent: true});
}
ymaps.layer.storage.add('google#layer', googleLayer);
ymaps.mapType.storage.add('google#type', new ymaps.MapType('Google Maps', ['google#layer']));