react-map

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

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