You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.
@neoacevedo I would simply use any IP to LatLng service (for example: https://iplocation.com/) . It also depends on what you want to accomplish on your project. The mentioned plugin by @cebe also works if you wish to provide the solution on the frontend using scripts.
@tonydspaniard I have used that plugin in standalone LeafLet maps where I can get the current location on page load, but my question is focused to the PHP environment, but I think I'm misunderstanding something in the process that I will check and post here later. Anyway I think, as suggestion, this should allow instantiate LeafLet without any parameter, an equivalent in JS:
varmap=L.map('myDiv');
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'ts a simple question: how do I to ask to user for its current location?
The text was updated successfully, but these errors were encountered: