Skip to main content

Location & Nearby

Closegram includes opt-in location features for discovering nearby users and local content.

Each property has its own checkbox marking whether that specific piece is fully implemented and functional end to end (frontend + backend) — update these yourself as work lands; this page won't overwrite them.

  • Update/share my location — Settings → Location sharing (LocationSharingPage) uses the browser geolocation API to share/update via updateMyLocation
  • Location privacy controls — public/private visibility toggle on the same page (isPublic on updateMyLocation) plus stop-sharing (deleteMyLocation)
  • Nearby users search — a "People nearby" section on Settings → Location sharing (nearbyUsers) lists opted-in users within radius with their distance, shown once you've shared your own location; the same query also powers the "Cerca de ti" section on the /discover-people page
  • Local feed by radius
  • Search by city/country or coordinates
  • Popular locations & location stats

Note: sharing a static location pin inside chat messages (shareLocation) is a related but separate capability, and it's now wired up from the chat composer — see Messages & Conversations. Live location broadcasting (updateLiveLocation/stopLiveLocation) there is still unimplemented.

See the technical reference for GraphQL schemas, routes, source file links, and per-field wiring status.