
MyGolfRadius
Type any address and see how many golf courses sit within 10–50 miles, plus a live heatmap of the densest regions per state. No backend, no API keys — runs entirely in the browser.
What it does
MyGolfRadius answers one question fast: how many golf courses are near a given point? Type an address or drop a pin anywhere in the U.S., pick a radius (10, 20, 30, or 50 miles), and it returns the count and full sorted list of courses within reach. A separate density-explorer mode runs a GPU heatmap across an entire state and ranks its highest-density golf regions for whatever radius is selected. It covers all 50 states plus DC — around 15,600 courses.
How it’s built
It’s a fully static React and TypeScript single-page app with no backend and no API keys. Mapping runs on MapLibre GL with a free OpenFreeMap basemap, and address search uses the free Nominatim geocoder — both chosen specifically to avoid needing a token. Course data comes from the open OpenGolf dataset (OpenStreetMap-derived, ODbL licensed): a build script downloads it, normalizes each course to a common shape, filters out coordinate outliers per state using a robust statistical fence, and writes one compact JSON file per state plus an index of state-level course counts and map bounds.
The density calculation itself runs entirely client-side via a small uniform-grid spatial index, which is what makes a whole-state density scan feel instant rather than running a server-side geo query. Being a static dist/ build with relative asset paths, it deploys to any static host — Vercel, Netlify, GitHub Pages, Cloudflare Pages — with zero configuration.