Google Maps
Three ways to explore live Google maps, location markers, and directions.
Google Maps setup needed. Add a browser-restricted API key and a map ID for markers and routes in .env.local. The page will show live maps after configuration and restart.
Standard Google Map
San Francisco, CaliforniaExplore a live road map with Google controls, drag navigation, and a compact view switcher.
Configure Google Maps
Add NEXT_PUBLIC_GOOGLE_MAPS_API_KEY to enable this live map.
Custom markers & info windows
4 demo locationsSelect a fictional workspace to focus its Google marker and open its location details.
Configure Google Maps
Add NEXT_PUBLIC_GOOGLE_MAPS_API_KEY to enable this live map.
Routes & directions
Live Routes API requestChoose two demo locations and request a real Google route. Distance and travel time appear only after Google returns them.
Route information
Configure both the API key and map ID to request routes.
Configure Google Maps
Add NEXT_PUBLIC_GOOGLE_MAPS_API_KEY to enable this live map.