Multi-marker Google Maps dispatch map with job + agent pins
PUBLIC_GOOGLE_MAPS_API_KEY environment variable. Without it
MapView renders a styled placeholder — useful for testing layouts before wiring up billing.| Prop | Type | Default | Description |
|---|---|---|---|
apiKey | string | - | Google Maps API key (pass empty string for placeholder) |
jobs | MapJob[] | [] | Job pins |
agents | MapAgent[] | [] | Agent/technician pins |
defaultCenter | { lat, lng } | West Palm Beach | Initial map center |
showLegend | boolean | true | Show status color legend |
onJobClick | (job: MapJob) => void | - | Pin click callback |
onAgentClick | (agent: MapAgent) => void | - | Agent pin click callback |