Skip to content
G

google-map-react

Isomorphic component that allows rendering react components on a google map

by istarkovFree

#196in UI Libraries
0In stores

Description

google-map-react is a React library that lets you render ordinary React components on top of a Google Map. It is a component written over a…

Highlights

  • Renders any React component on a Google Map
  • Server rendering support
  • Tunable hover on every map object
  • Positions children by lat and lng props

Ratings & Reviews

No ratings yet

Be the first to rate google-map-react.

People also visit

R

react-google-maps

React.js Google Maps integration component

UI Libraries
Launch
G

google-map-react

Universal google map react component

UI Libraries
Launch
R

@react-google-maps/api

React.js Google Maps API integration

UI Libraries
Launch
R

react-map-gl

A React wrapper for MapboxGL-js and overlay API

UI Libraries
Launch
P

pigeon-maps

ReactJS Maps without external dependencies

UI Libraries
Launch
G

google-maps-react-markers

Google Maps library that accepts markers as react components, works

UI Libraries
Launch

google-map-react FAQ

What is google-map-react?

It is a React component that renders your own React components as markers and overlays on a Google Map.

How do I place a component on the map?

Add lat and lng props to any child of the GoogleMapReact component, and the child is shown at that position.

Can it render on the server?

Yes. The README says the library is isomorphic and can render on a server.

Why does my map not appear?

The README's first troubleshooting note is that the container element must have a width and height.

How do I install it?

Follow the installation and getting-started sections of the README.

What are the best google-map-react alternatives?

Popular alternatives to google-map-react include react-google-maps, google-map-react and @react-google-maps/api. See all google-map-react alternatives

Developer Stuff

Badges