0.0.21 • Published 6 years ago

@jeremydurnell/react-google-maps v0.0.21

Weekly downloads
-
License
MIT
Repository
github
Last release
6 years ago

Google Maps integration with React.

npm version npm minzipped size npm type definitions npm downloads npm license

Fully declarative render-style components built with latest React features. Checkout documentation with examples.

Installation

# With yarn
yarn add @jeremydurnell/react-google-maps

# Or with npm
npm install @jeremydurnell/react-google-maps

Touch Events not working?

if (window.navigator) {
  /**
   * Make mouse work with google maps in Windows touch devices.
   *
   * @link http://stackoverflow.com/a/37611736/1709679
   */
  window.navigator.msPointerEnabled = true;

  /**
   * Make touch/pan/zoom work with google maps work in Windows touch devices.
   *
   * @link https://code.google.com/p/gmaps-api-issues/issues/detail?id=6425
   */
  window.navigator.msMaxTouchPoints = window.navigator.msMaxTouchPoints || 2;
}
0.0.21

6 years ago

0.0.20

6 years ago

0.0.19

6 years ago

0.0.18

6 years ago

0.0.17

6 years ago

0.0.16

6 years ago

0.0.15

6 years ago

0.0.14

6 years ago

0.0.13

6 years ago

0.0.12

6 years ago

0.0.11

6 years ago

0.0.10

6 years ago

0.0.9

6 years ago