java.lang.Object
com.vaadin.flow.component.map.configuration.Extent
All Implemented Interfaces:
Serializable

public class Extent extends Object implements Serializable
Defines an area within a map using min/max coordinates. Coordinates must be specified in the map's user projection, which by default is EPSG:4326, also referred to as GPS coordinates. If the user projection has been changed using Map.setUserProjection(String), then coordinates must be specified in that projection instead.
See Also:
  • Constructor Details

    • Extent

      public Extent(double minX, double minY, double maxX, double maxY)
    • Extent

      public Extent()
  • Method Details

    • getMinX

      public double getMinX()
    • getMinY

      public double getMinY()
    • getMaxX

      public double getMaxX()
    • getMaxY

      public double getMaxY()