• Stars
    star
    120
  • Rank 295,983 (Top 6 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created over 2 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Yandex.Maps API bindings for React (fork https://github.com/gribnoysup/react-yandex-maps)

React Yandex Maps

npm npm bundle size

Yandex Maps API bindings for React

Features

  • Supports TypeScript out of the box
  • Automatic yamps api and modules loading
  • Declarative rendering

Installation

npm:

npm install @pbe/react-yandex-maps

yarn:

yarn add @pbe/react-yandex-maps

Getting Started

Try running a simple example:

import React from 'react';
import { YMaps, Map, Placemark } from '@pbe/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>
  );
}

Documentation

The React Yandex Maps docs are located at website

Contribution

We appreciate your help!

To contribute, please read our contributing instructions.

License

MIT