Facilitate integration (Level of events) with livewire.
gabeta opened this issue · 1 comments
gabeta commented
I use laravel livewire I would like to know if there is a possibility of directly using methods like callback when I graft an event on a marker.
`public function mount()
{
Mapper::marker(53.381128999999990000, -1.470085000000040000, ['draggable' => true, 'eventClick' => 'myDraggableMethod']);
}
public function myDraggableMethod(event)
{
}`
bradcornford commented
Hi,
Yes, you should be able to create markers dynamically, however you may need to load the data from an endpoint itself.