googlemapreact/google-map-react

Google map library for react that allows rendering components as markers :tada:

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 18 minutes ago
Added to GitGenius on September 10th, 2026
Created on June 10th, 2015
Open Issues & Pull Requests: 157 (+0)
GitHub issues: Enabled
Number of forks: 848
Total Stargazers: 6,479 (+0)
Total Subscribers: 82 (+0)

Repository Insights (GitGenius)

Most active contributors

Sign in to see contributor activity.

Related repositories by overlapping contributors

No overlapping-contributor repos identified yet.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 0
New in 7 days: 0
Closed in 7 days: 0
Avg open age: N/A days
Stale 30+ days: 0
Stale 90+ days: 0

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

google-map-react is a React component library that renders React components as markers and interactive elements on Google Maps.

The tool solves the problem of integrating custom React components with Google Maps by wrapping the Google Maps API in a React-friendly interface. Instead of using default map markers and balloons, developers can render their own animated React components at specific map coordinates by simply adding latitude and longitude props to child elements. The library calculates component positions independently of the Google Maps API, allowing components to render before the API loads or even without it entirely. It includes an internal hover algorithm that enables interaction with map elements regardless of zoom level, and it supports server-side rendering for isomorphic applications.

The tool suits projects that need custom, interactive map visualizations beyond standard markers. It works well when you want to leverage existing React components on a map or need server-side rendering capabilities. The library loads the Google Maps API on demand rather than requiring a script tag in the page head, reducing initial load overhead. For projects requiring direct access to the underlying Google Maps API objects, the tool provides this through the onGoogleApiLoaded callback when explicitly enabled.

The project maintains active engagement with contributions and demonstrates ongoing development through example repositories and documentation updates. The codebase supports both npm and yarn package managers, indicating attention to developer workflow preferences. The library includes comprehensive examples covering simple component placement and custom map options, providing clear paths for adoption.