-
Notifications
You must be signed in to change notification settings - Fork 24
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
Comments
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? |
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. |
Isnt this solved yet? |
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? |
Hi there, thanks for the quick response!
That would be perfect!
And even if the location is obtained only at initial render it would be
enough. (plus being readonly).
If you can make location updates periodically as you say, even better!
Feel free to tell me if you want me to help in implementation, i am more
than willing!
King regards.
|
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.!! |
When the map loads and draggrable is false, the map doesnt set value of LiveLocation
The text was updated successfully, but these errors were encountered: