Interface Coordinate


public interface Coordinate
Geographical coordinate
Since:
1.0
  • Method Summary

    Modifier and Type
    Method
    Description
    static Coordinate
    createDeg(double latitudeDeg, double longitudeDeg)
    Create and initialize Coordinate instance
    static Coordinate
    createDeg(double latitudeDeg, double longitudeDeg, int zoom)
    Create and initialize Coordinate with zoom instance
    static Coordinate
    createMs(int latitudeMs, int longitudeMs)
    Create and initialize Coordinate instance
    static Coordinate
    createMs(int latitudeMs, int longitudeMs, int zoom)
    Create and initialize Coordinate with zoom instance
    double
    Get coordinate latitude in degrees
    int
    Get coordinate latitude in milliseconds
    double
    Get coordinate longitude in degrees
    int
    Get coordinate longitude in milliseconds
  • Method Details

    • createDeg

      @NonNull static Coordinate createDeg(double latitudeDeg, double longitudeDeg)
      Create and initialize Coordinate instance
      Parameters:
      latitudeDeg - latitude in degrees
      longitudeDeg - longitude in degrees
      Returns:
      created Coordinate object instance
      Since:
      1.0
    • createDeg

      @NonNull static Coordinate createDeg(double latitudeDeg, double longitudeDeg, int zoom)
      Create and initialize Coordinate with zoom instance
      Parameters:
      latitudeDeg - latitude in degrees
      longitudeDeg - longitude in degrees
      zoom - zoom in degrees
      Returns:
      created Coordinate object instance
      Since:
      4.2
    • createMs

      @NonNull static Coordinate createMs(int latitudeMs, int longitudeMs)
      Create and initialize Coordinate instance
      Parameters:
      latitudeMs - latitude in milliseconds
      longitudeMs - longitude in milliseconds
      Returns:
      created Coordinate object instance
      Since:
      1.0
    • createMs

      @NonNull static Coordinate createMs(int latitudeMs, int longitudeMs, int zoom)
      Create and initialize Coordinate with zoom instance
      Parameters:
      latitudeMs - latitude in milliseconds
      longitudeMs - longitude in milliseconds
      zoom - zoom in degrees
      Returns:
      created Coordinate object instance
      Since:
      4.2
    • getLatitudeDeg

      double getLatitudeDeg()
      Get coordinate latitude in degrees
      Returns:
      latitude in degrees
      Since:
      1.0
    • getLatitudeMs

      int getLatitudeMs()
      Get coordinate latitude in milliseconds
      Returns:
      latitude in milliseconds
      Since:
      1.0
    • getLongitudeDeg

      double getLongitudeDeg()
      Get coordinate longitude in degrees
      Returns:
      latitude in degrees
      Since:
      1.0
    • getLongitudeMs

      int getLongitudeMs()
      Get coordinate longitude in milliseconds
      Returns:
      latitude in milliseconds
      Since:
      1.0