Yandex Maps API bindings for React
- Supports TypeScript out of the box
- Automatic yamps api and modules loading
- Declarative rendering
npm:
npm install @dodge164/react-yandex-maps
yarn:
yarn add @dodge164/react-yandex-maps
Try running a simple example:
import React from 'react';
import { YMaps, Map, Placemark } from '@dodge164/react-yandex-maps';
export default function App() {
const defaultState = {
center: [55.751574, 37.573856],
zoom: 5,
};
return (
<YMaps>
<Map defaultState={defaultState}>
<Placemark geometry={[55.684758, 37.738521]} />
</Map>
</YMaps>
);
}
The React Yandex Maps docs are located at website
We appreciate your help!
To contribute, please read our contributing instructions.