Components
Both
src/components/pin-map.tsxPin Map
A pin fixed at the center of a map that moves under it, with the address it rests on read back in a chip at the top. The incident report uses it for where it happened, and Add location for where a new location sits. An address search beside it flies the map; a drag or a click fine-tunes it.
Placing a pin
The incident report's Where. The arrow through the pin is the car's heading; the button at the bottom right finds you.
South Mason Road at Cimarron ParkwayKaty · Harris County
On the record
The filed incident: the same map, still, with no search and nothing to drag.
South Mason Road at Cimarron ParkwayKaty · Harris County
No heading
Add location's map: a place, not a direction of travel.
1450 Pin Oak RdKaty, TX
Used on
- Console
- /console/fleet/[id]/console/locations/console/locations/[id]/console/locations/franchises/[id]/console/people/[id]
- Portal
- /dashboard/intake