Your customers on a map, split into territories.From this code.
Filament has no map page. Your customers stay your own Eloquent models; Warp Map adds the map, the territories and each person's route.
Your code One method on the model, one plugin call
// Your model: where it is on the mappublic static function mapLocation(): MapLocation{ return MapLocation::make() ->latitude('lat') ->longitude('lng') ->postalCode('postcode') ->title('name');}// Your panel$panel->plugin( FilamentWarpMapPlugin::make() ->locations([Customer::class]) ->people(Technician::class, title: 'name'),);
- ✓Every customer on the map, in groups that open as you zoom in
- ✓Territories drawn on the map or listed by postal code
- ✓Draw around places to add them to someone's day
The picture is this demo's Map page, which adds leads, visit cycles and the territories of five people.
Loading...
Loading...