Mark a location on an image of a parent resource
I have a “House” model with a title and an image (blueprint). The “House” HasMany “Problem” and I have a relation manager to create these on the House resource.
I would like to mark the problem location on the image from the House.
Any ideas how to go about doing this? I feel stuck on these two issues:
1: how to access the parent (“House”) in the RelationManager create popup
2: does anyone know of an input that can help me “mark” a location on an image?
1 Reply
You can access the house with $record->ownerRecord I think, then use the canvas pointer
https://filamentphp.com/plugins/ruelluna-canvas-pointer
Filament
Canvas Pointer by Ruel Luna - Filament
A field that allows users to click and point markers on an image.