Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

react-map

0.0.2 • Public • Published

Maps for React

A map component for React, the declarative UI library. Allow your React sites to use Google Maps easily.

Example

In the render-function of the component where you want to show a map:

<Map latitude={60.170833} longitude={24.9375} zoom={5} width={250} height={250}
  points={[{latitude:60.1876172,longitude:24.815366,title:"HIIT Open Innovation House"},{latitude:60.185478,longitude:24.812257,title:"HIIT Otaniemi"}, {latitude:60.2049747,longitude:24.9634712,title:"HIIT Kumpula"}]} />

install

npm i react-map

Downloadsweekly downloads

3

version

0.0.2

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
Report a vulnerability