Class Coordinates

java.lang.Object
org.loboevolution.js.AbstractScriptableDelegate
org.loboevolution.html.js.geolocation.Coordinates
All Implemented Interfaces:
ScriptableDelegate

public class Coordinates extends AbstractScriptableDelegate
The CoordinatesImpl class provides Java implementation of the "CoordinatesImpl Interface" as detailed out in the W3C Specifications (...) Note: This class must not have any sub-classes to ensure W3C Specifications are being strictly followed by the system or application that uses this geolocation package.
  • Constructor Details

    • Coordinates

      public Coordinates(double latitude, double longitude, Double altitude, double accuracy, Double altitudeAccuracy, Double heading, Double speed) throws IllegalArgumentException
      Constructs a org.w3c.geolocation.Coordinates object with the specified attributes.
      Parameters:
      latitude - the latitude value.
      longitude - the longitude value.
      altitude - the altitude value.
      accuracy - the accuracy value.
      altitudeAccuracy - the altitudeAccuracy value.
      heading - the heading value.
      speed - the speed value.
      Throws:
      IllegalArgumentException - if any.
      IllegalArgumentException - if any.