0.1.1 • Published 1 year ago

react-ymaps3 v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

react-ymaps3

React Yandex Maps Javascript API wrapper https://yandex.ru/dev/jsapi30/doc/en/dg/concepts/general#react

Installation

yarn add react-ymaps3

Usage with typescript

yarn add -D @yandex/ymaps3-types@latest

Requirements

To work you need to get Yandex Maps Javascript API Key with hosts configured.

Minimal working example

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>
  )
}

Features

  • Basic Components
  • Documentation

Packages

  • CartesianProjection
  • Clusterer
  • Controls
  • Hint
  • Markers
  • SphericalMercatorProjection

0.1.1

1 year ago

0.0.10

1 year ago

0.0.11

1 year ago

0.0.12

1 year ago

0.0.13

1 year ago

0.0.14

1 year ago

0.0.15

1 year ago

0.0.9

1 year ago

0.0.16

1 year ago

0.0.17

1 year ago

0.0.18

1 year ago

0.0.19

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago