Open marcoguidara opened 3 years ago
@marcoguidara I believe this is probably a bug with the underlying mapping engine, leaflet. I'll keep this issue open and investigate it when I am able. I'll be happy to review any PRs, if you can send one.
Thank you for your prompt reply. Sadly, I can't set up a PR on the project I'm using the package.
If may help, this is the way I'm using the field now:
<?php
namespace App\Nova\Traits;
use GeneaLabs\NovaMapMarkerField\MapMarker;
...
trait HasLocation
{
public function getLocationFieldsAll()
{
return $this->merge([
MapMarker::make('Posizione')
->searchProvider('openstreetmap')
->searchLabel('Inserire indirizzo/Coordinate')
->hideFromIndex(),
]);
}
}
Hi, any news about this? I have the same problem... Thanks!
Describe the bug When I submit a search into map search bar, the first time the map gets refreshed. If I submit another search without clearing the bar with the "x button", the map doesn't get refreshed.
To Reproduce Steps to reproduce the behavior:
Expected behavior Map should refresh after every search submit
Screenshots If applicable, add screenshots to help explain your problem.
Environment:
Additional context Add any other context about the problem here.