Answer the question
In order to leave comments, you need to log in
How to make a city definition not in Moscow, but in Moscow in Yandex API 2.0?
Hello, how in Yandex API 2.0 to make the definition of the city not in (city (Moscow)), but in (city (Moscow)).
Now:
OPEN YOUR CAR SERVICE IN MOSCOW
Do:
OPEN YOUR CAR SERVICE IN MOSCOW
Code:
<script>
$(document).ready(function(){
ymaps.ready(function(){
var geolocation = ymaps.geolocation;
$('#wb_gorode').text('в '+geolocation.city);
});});
</script>
<h1> Откройте свой автосервис <div id="wb_gorode"></div></h1>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question