# fullstackreact/google-maps-react

Companion code to the "How to Write a Google Maps React Component" Tutorial

Repository: https://github.com/fullstackreact/google-maps-react
Canonical: https://ross.abutalabs.com/products/google-maps-react
Homepage: https://www.fullstackreact.com/articles/how-to-write-a-google-maps-react-component/
Language: JavaScript
License: MIT
License Family: permissive
Topics: react, google, google-api, google-maps, googlemap
Last push: 2023-01-18T13:02:12+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3782, "days_push": 1323, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1639, forks 804 (observed 2026-08-28T04:05:15.129942+00:00)

## What it is
A declarative React component library for embedding Google Maps, featuring lazy-loading of the Google Maps API via a GoogleApiWrapper higher-order component. It provides Map, Marker, and InfoWindow components and accompanies the Fullstack React Google Maps tutorial.

## Use cases
- embed a google map in a react app
- show markers and info windows on a map in react
- lazy-load the google maps javascript api in react
- build a current-location finder map component
- learn how to write a google maps react component

## When to choose
- you use React and want a simple declarative wrapper around Google Maps
- you want lazy-loading of the Google Maps API with minimal setup
- you need markers and info windows with basic event handling

## When to avoid
- you need a actively maintained library with recent updates and modern React support
- you use Vue, Angular, or vanilla JavaScript instead of React
- you need advanced Google Maps features like heatmaps, drawing tools, or clustering

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, frontend-framework
- domain: web-development, frontend
- platform: browser, cross-platform
- tags: react, google-maps, maps, hoc, lazy-loading, javascript, nodejs

## Member repositories
- fullstackreact/google-maps-react (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:15.129942+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:46:26.340629+00:00, confidence not recorded.
  - readme: https://github.com/fullstackreact/google-maps-react (fetched 2026-08-28T04:05:15.129942+00:00, sha f34c8ee4cdd2)
  - registry_npm: https://registry.npmjs.org/google-maps-react (fetched 2026-08-29T11:20:51.014268+00:00, sha c813ec41d820)
- Data as of 2026-08-30T08:39:29.467469+00:00.
