React Yandex Maps Javascript API wrapper https://yandex.ru/dev/jsapi30/doc/en/dg/concepts/general#react
yarn add react-ymaps3
yarn add -D @yandex/ymaps3-types@latest
To work you need to get Yandex Maps Javascript API Key with hosts configured.
export const MyComponent = () => {
return (
<div style={{height: 600}}>
<YMapProvider apiKey="{YMAPS3_API_KEY}">
<YMap location={{center: [37.95, 55.65], zoom: 10}} mode="vector" theme="dark">
<YMapDefaultSchemeLayer />
<YMapDefaultFeaturesLayer />
</YMap>
</YMapProvider>
</div>
)
}
- [x] Basic Components
- [ ] Documentation
- [ ] CartesianProjection
- [x] Clusterer
- [x] Controls
- [ ] Hint
- [x] Markers
- [ ] SphericalMercatorProjection