# Interactive Map

The CurbSight interactive map is a Google Maps-powered visualization of your scored territory. Color-coded property pins, hail swath overlays, and route optimization between selected leads. This is the feature most often cited by Pro and Enterprise customers as the reason they upgraded.

## What's On the Map

### Color-Coded Property Pins
Every property in your territory renders as a pin on the map, color-coded by composite score:

- **Red** — score 85+ (hot leads)
- **Orange** — score 70–84 (strong leads)
- **Yellow** — score 55–69 (mid)
- **Blue** — score 40–54 (cold)
- **Gray** — score under 40 (skip)

At a glance, you see which streets in your territory are loaded with high-score properties — and which are dead zones. This is invaluable for canvassing route planning.

### Click Pin → Property Card
Click any pin to open the property card sidebar with the full detail (Street View, satellite, owner, year built, hail history, score breakdown, talking points). Same data as the lead explorer, in spatial context.

### Hail Swath Overlays
Toggle on the storm overlay to render NOAA hail event polygons on the map. Each polygon is sized by hail diameter and date. You can immediately see:

- Which streets and blocks were under the most severe parts of recent storms
- How storm damage clusters (often follows specific corridors)
- Where canvassing time will be best spent post-storm

### Route Optimization
Select a list of properties (typically your top-scored 20–50) and the map computes the shortest driving route between them. Output is a turn-by-turn route you can hand to a rep or open directly in Google Maps for navigation.

This single feature can save a 5-rep team multiple hours per week vs. canvassing in zip-code order or by street name.

### Territory Boundaries
Toggle on to see the boundaries of your assigned territories. Useful for multi-rep operations to enforce who works which area.

## How the Map Is Built

The map is built on the Google Maps JavaScript API with custom marker clustering for performance at scale (a 5,000-property territory renders smoothly). All property data flows from Supabase. Storm overlays are computed from NOAA polygon data. Route optimization uses the Google Directions API.

The map is mobile-optimized — pinch-zoom, tap-to-open, drag-to-pan all work as expected on phones and tablets.

## Plan Availability

- **Starter:** Map not included. Use the lead explorer for list-based prospecting.
- **Pro:** Full map with property pins, hail overlays, and route optimization.
- **Enterprise:** Everything in Pro, plus territory boundaries, per-user filtering on the map, and multi-vertical pin coloring (color by roofing score OR windows score OR siding score).

## What's Coming

- Heatmap layer (density of high-score properties)
- Confidence overlay (how certain the score is, based on data completeness)
- Saved routes (build a canvassing route once, reuse weekly)
- Crew GPS tracking and live position overlay
- Drone footage integration on the map

## See Also

- [Property Intelligence Dashboard](./dashboard.md)
- [Storm and Hail Data](./storm-data.md)
- [Territory Management](./territories.md)
- [Pricing](../pricing.md)
