0.0.8 • Published 5 years ago

@dc0de/react-google-maps v0.0.8

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

Google Maps integration with React.

npm version npm minzipped size npm type definitions npm downloads Build Status codecov npm license

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

Installation

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

# Or with npm
npm install @dc0de/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.8

5 years ago

0.0.7

5 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago