You're viewing an older version of Vaadin JavaDoc. Please see version 24.7.0 for the latest.
com.vaadin.flow.component.map.configuration.

Class 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:

    Serialized Form

    • Constructor Detail

      • Extent

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

        public Extent()
    • Method Detail

      • getMinX

        public double getMinX()
      • getMinY

        public double getMinY()
      • getMaxX

        public double getMaxX()
      • getMaxY

        public double getMaxY()