javascript - HTML 5 Geolocation works on laptops only -


I am trying to use the HTML5 geolocation API and looking for samples, let me know this API

But the question is, when I run yoga on any laptop, it works. But moving on the desktop computer, it is not;

Both laptops and PCs are on the same network (common public IP addresses), and both have the latest versions of Firefox and Chrome browsers.

What is the need to work for this API? What's in my laptop, which is not available on PC?

Can you please provide more information?

  1. Is there a laptop on WiFi, Ethernet or 3G / 4G tither?
  2. Is there a PC on WiFi, Ethernet or 3G / 4G tither?
  3. "This does not work" What does this mean? The site is not returning anything? Or is the location just wrong?
  4. Is location sharing enabled / disabled on PC? Here is a useful note from

    W3C GeoLocation API

    < P> Geolocation API defines a high-level interface for information related to the device that hosted the implementation, such as latitude and longitude. The API is an agnostic of the information sources of the underlying location. Common sources of location information include IP address, RFID, WiFi and Bluetooth MAC address, and GSM / CDMA cell ID as well as user input, including Global Positioning System (GPS) and Network Signals. There is no guarantee that the API gives the real state of the device.

    The thing to note from my experience is that mobile / laptop devices deliver better results on 3G / 4G or WiFi, but there is no guarantee on specifying the specification That's what's returned.

    FYI ran the display of HTML5 geographical location on my iMac (ethernet) and returned it to the right center of "Sydney" location although I'm not near.

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -