Гугл теперь с видом со спутника
This commit is contained in:
parent
3bb891ee5e
commit
b970f102bc
|
|
@ -38,7 +38,7 @@ function init() {
|
||||||
ymaps.mapType.storage.add('osm#type', new ymaps.MapType('OpenStreetMap', ['osm#layer']));
|
ymaps.mapType.storage.add('osm#type', new ymaps.MapType('OpenStreetMap', ['osm#layer']));
|
||||||
|
|
||||||
googleLayer = function () {
|
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.layer.storage.add('google#layer', googleLayer);
|
||||||
ymaps.mapType.storage.add('google#type', new ymaps.MapType('Google Maps', ['google#layer']));
|
ymaps.mapType.storage.add('google#type', new ymaps.MapType('Google Maps', ['google#layer']));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue