Class WLeafletMap.Coordinate

java.lang.Object
eu.webtoolkit.jwt.WLeafletMap.Coordinate
Enclosing class:
WLeafletMap

public static class WLeafletMap.Coordinate extends Object
A geographical coordinate (latitude/longitude)
  • Constructor Details

    • Coordinate

      public Coordinate()
      Default constructor.

      Constructs a coordinate with latitude and longitude set to 0.

    • Coordinate

      public Coordinate(double latitude, double longitude)
      Create a coordinate (latitude, longitude)
  • Method Details

    • setLatitude

      public void setLatitude(double latitude)
      Set the latitude.
    • getLatitude

      public double getLatitude()
      Get the latitude.
    • setLongitude

      public void setLongitude(double longitude)
      Set the longitude.
    • getLongitude

      public double getLongitude()
      Get the longitude.
    • equals

      public boolean equals(WLeafletMap.Coordinate other)
      Equality comparison operator.