Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including react-map with all npm packages installed. Try it out:

var reactMap = require("react-map")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

react-map v0.0.2

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"}]} />
RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free