Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Map dont set value on draggrable on false #26

Closed
octaviogamero27 opened this issue Jul 1, 2024 · 6 comments · Fixed by #33
Closed

Map dont set value on draggrable on false #26

octaviogamero27 opened this issue Jul 1, 2024 · 6 comments · Fixed by #33
Labels
bug Something isn't working feature

Comments

@octaviogamero27
Copy link

When the map loads and draggrable is false, the map doesnt set value of LiveLocation

@mohaphez
Copy link
Member

mohaphez commented Jul 2, 2024

Hi @octaviogamero27

When draggable is set to false, what trigger should the liveLocation feature use to receive and share the location live? Isn't the liveLocation feature essentially meaningless without draggable?

@octaviogamero27
Copy link
Author

Hi @mohaphez thanks for answer me, that options is when only wanna get Location with the map disabled. The field is readonly, but that option doesnt exists in Plugin.

I suggest the plugin has readonly mode for get only the location.

@enriquemdev
Copy link
Contributor

Isnt this solved yet?

@mohaphez
Copy link
Member

mohaphez commented Sep 4, 2024

Hi

To clarify, the liveLocation function dynamically updates the location by capturing it from the map in real-time as the marker is dragged and dropped. This updated location is then sent to the Livewire component, allowing the lat and lng fields to be updated live.

Based on your description:

You need the map to be read-only, while the browser periodically (e.g: every 10 seconds) retrieves the user’s location, encodes it, and updates the lat and lng fields. Is that correct?

@enriquemdev
Copy link
Contributor

enriquemdev commented Sep 4, 2024 via email

@octaviogamero27
Copy link
Author

Hi @mohaphez thanks for responses me!

Yes that´s it, I need read only map and get the location even the map its readonly mode.!!
Thanks for everything you do!!

@mohaphez mohaphez added bug Something isn't working feature labels Sep 12, 2024
@mohaphez mohaphez linked a pull request Sep 12, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants