Answer the question
In order to leave comments, you need to log in
How to specify city/country in react-yandex-map?
Let's say I receive data from the server in the form of a city name and some kind of description.
But the problem is that react-yandex-map only works with coordinates.
import { YMaps, Map } from 'react-yandex-maps';
const App = () => (
<YMaps>
<div>
My awesome application with maps!
<Map defaultState={{ center: [55.75, 37.57], zoom: 9 }} />
</div>
</YMaps>
);
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