I was trying (unsuccessfully) to explain that Geolocation API does not provide 
the information you want, but you might have significantly different values for 
accuracy, whether you have a GPS location or not.

So maybe you could differentiate between GOS and non-GPS locations.This is of 
course only valid for web stuff. If you go native programming, then you might 
have other possibilities.


/Mogens
On February 4, 2022 at 12:31:31 pm +01:00, Rune Back <rune.b...@gmail.com> 
wrote:

> Yes, of course, but that's not the issue. - As a programmer of a site or an 
> APP, you can (with the surfer's permisssion) get the GEO location of the 
> surfer using the information of his/her browser. Period. No hacking. The 
> information is exact if and only if the surfer's device has a GPS. If not so, 
> the GEO location will instead be the GEO location of some telecommunication 
> mast of your Internet provider, and that mast may be 100s of miles away. - My 
> question is: Is it possible to discern (as a programmer) if the GEO location 
> comes from the user's deviceor from the operater's mast?
> 
> 
> 
> Den tors 3 feb. 2022 kl 20:46 skrev Mogens Beltoft <<mog...@beltoft.dk>>:
> 
> > Hi!
> > 
> > To my knowledge you only have the Geolocation API to get any information 
> > from:
> > <https://developer.mozilla.org/en-US/docs/Web/API/Geolocation_API>
> > 
> > There are no properties to indicate what kind of position you receive, but 
> > you can request a position, and maybe use the returned accuracy to tell 
> > whether you have a GPS position or not.
> > 
> > /Mogens
> > 
> > On 03/02/2022 10.27, Rune Back wrote:
> > 
> > > Hi!
> > > 
> > > I'm sitting at a desktop computer writing this, because I like working 
> > > with its' large keyboard and large screen. If I with my desktop computer 
> > > use one of my APPs that has GEO location, it'll claim I'm in Helsinki or 
> > > Tampere, 100s of miles south from where my beloved hometown and office 
> > > are located.
> > > 
> > > The reason is probably that my desktop computer has no GPS, so my GEO 
> > > location has more to do with the mobile operator I use than with my 
> > > actual location - but the reasonis of no importance to me. - I would like 
> > > to discern (using JavaScript?) if someone using my APP has a device that 
> > > has GPS or not. This matter is of much importance when an APP uses GEO 
> > > location. - Does anyone have an answer to this, or knows a source where 
> > > the answer might be found?
> > > 
> > > All the best (in spite of the Corona)!
> > > 
> > > Rune
> > > 
> > > --
> > > You received this message because you are subscribed to the Google Groups 
> > > "iPhoneWebDev" group.
> > > To unsubscribe from this group and stop receiving emails from it, send an 
> > > email to <iphonewebdev+unsubscr...@googlegroups.com>.
> > > To view this discussion on the web visit 
> > > https://groups.google.com/d/msgid/iphonewebdev/CACYadq3%2BL1v3Jm_1ArJ%2BbBEpk6UpHNUx4aMBoESvjFcNT%2B%2B3FQ%40mail.gmail.com
> > >  
> > > <https://groups.google.com/d/msgid/iphonewebdev/CACYadq3%2BL1v3Jm_1ArJ%2BbBEpk6UpHNUx4aMBoESvjFcNT%2B%2B3FQ%40mail.gmail.com?utm_medium=email&utm_source=footer>.
> > > 
> > 
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "iPhoneWebDev" group.
> > To unsubscribe from this group and stop receiving emails from it, send an 
> > email to <iphonewebdev+unsubscr...@googlegroups.com>.
> > To view this discussion on the web visit 
> > https://groups.google.com/d/msgid/iphonewebdev/b8f829ba-4466-2a7e-fb54-880c5672d79c%40beltoft.dk
> >  
> > <https://groups.google.com/d/msgid/iphonewebdev/b8f829ba-4466-2a7e-fb54-880c5672d79c%40beltoft.dk?utm_medium=email&utm_source=footer>.
> > 
> --
> You received this message because you are subscribed to the Google Groups 
> "iPhoneWebDev" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to <iphonewebdev+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/iphonewebdev/CACYadq3tiXLWQSzt%2BcKFE3X1j%3DQU4dRKbkxfwGF6-d6bLfe4fQ%40mail.gmail.com
>  
> <https://groups.google.com/d/msgid/iphonewebdev/CACYadq3tiXLWQSzt%2BcKFE3X1j%3DQU4dRKbkxfwGF6-d6bLfe4fQ%40mail.gmail.com?utm_medium=email&utm_source=footer>.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to iphonewebdev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/iphonewebdev/1643978357869.6.31916%40webmail-backend-production-66dc858b65-h8t2r.

Reply via email to