node package manager
Love JavaScript? Your insights can make it even better. Take the 2017 JavaScript Ecosystem Survey »


Maps for React

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


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"}]} />