Hi,
the good thing is: you don't need this API for that task :)
Not only that but you won't be able to use it.
Websites aren't able to get information about the wifi ap and cell towers the users are connected to, but you need that specific info to be able to query the MLS API.
https://location.services.mozilla.com/api
Browsers are able to get the required information from the OS though and therefore query MLS or a similar service to provide an API on their own:
https://developer.mozilla.org/en-US/docs/Web/API/Geolocation/Using_geolocation
You can just ask the browser, where the client is, but the user will be asked for his/her permission for giving the website their current position.
The only other way (without the HTML5 API) to get an (rough) estimation for the position of website visitors is by looking up their IP.
If you've further questions, then don't hesitate to ask :)
Regards,
Felix Baumann
Am 25. November 2017 14:16:37 MEZ schrieb Navratan Prajapat <
navr...@unv7.com>:
>Hi Felix,
>
>First thanks for responding me, even you are not a concern person for
>this.
>I would like to answer your questions :
>
>-------------------------------------------
>
>What is your use-case for a location service?
>Are you trying to get the rough location of the users visiting your
>website?
>*Yes, i am trying to get lat long from users when they comes on
>website.*
>Or are you BUILDING native software for an OS?
>*No, just a simple website, trying yo use navigator but it doesn't work
>.*
>
>--------------------------------------------
>Let me know the email id where i can request the key for ?
>
>OR any other help from your side will be appreciated.
>
>
>Thanks