How the button works
The integration is intentionally simple — no Google Maps SDK, no app-specific deep link, no native app install. HoLaCe builds a universal Google Maps URL of the form:| Device | What opens |
|---|---|
| iOS (iPhone/iPad) | Tapping the link prompts iOS to open the user’s preferred maps app (Apple Maps, Google Maps, Waze) |
| Android | Opens Google Maps directly with the destination preloaded |
| Desktop (Mac/Windows/Linux) | Opens maps.google.com in a new browser tab with directions ready |
<a> tag with target="_blank". Even on a flaky network, as long as the page rendered, the button works.
Where it appears
Contractor assignment card
Right under the property address on every card on the contractor dashboard.
SP request queue
Inline on every row of the SP admin’s investigation requests table.
Investigation detail page
Top of the per-request page that opens when an SP admin clicks View Investigation.
Journey investigations panel
On the firm side, embedded in the journey’s Investigations tab so the requesting attorney can quickly verify the address.
The static map thumbnail
Adjacent to the Get Directions button on most surfaces is a static map thumbnail — a small Google Static Maps preview. The thumbnail itself is also tappable: tapping the image is identical to tapping the button. Investigators with strong visual memory (“I’ve been to this corner before”) get an extra cue before driving out. The thumbnail uses Google Static Maps API. Images are fetched server-side so the API key never reaches the browser, and the key is referrer-locked to*.holace.io/* for defense in depth.
When the address is missing
Both the button and the thumbnail handle the no-address case gracefully:- Button: renders disabled with the tooltip No address available.
- Thumbnail: renders a dashed placeholder with a map-pin icon and “No address available” caption.
Privacy note for investigators
Tapping Get Directions opens an external maps app. Your maps app may use your location and search history per its own privacy policy — HoLaCe doesn’t track that hand-off beyond logging which assignment was opened. The address itself is the firm’s record of the property; it is not your personal navigation history.Shipped in PR #67. If you spot a row that doesn’t have the button yet, tell the HoLaCe team — every place an address renders should carry the affordance.
