Я на карте - WTYNHJDRF RFHNS
This commit is contained in:
parent
524da1831a
commit
be3627c029
|
|
@ -125,6 +125,7 @@ function showMeOnTheMap()
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
myMap.setCenter([userLat, userLng]);
|
||||||
}, function(){
|
}, function(){
|
||||||
userLat = ymaps.geolocation.latitude;
|
userLat = ymaps.geolocation.latitude;
|
||||||
userLng = ymaps.geolocation.longitude;
|
userLng = ymaps.geolocation.longitude;
|
||||||
|
|
@ -143,5 +144,6 @@ function showMeOnTheMap()
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
myMap.setCenter([userLat, userLng]);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue