Я на карте - WTYNHJDRF RFHNS

This commit is contained in:
Krivchikov Dmitry 2014-04-09 12:59:34 +04:00
parent 524da1831a
commit be3627c029
1 changed files with 2 additions and 0 deletions

View File

@ -125,6 +125,7 @@ function showMeOnTheMap()
}
)
);
myMap.setCenter([userLat, userLng]);
}, function(){
userLat = ymaps.geolocation.latitude;
userLng = ymaps.geolocation.longitude;
@ -143,5 +144,6 @@ function showMeOnTheMap()
}
)
);
myMap.setCenter([userLat, userLng]);
});
}