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

Class Point

    • Constructor Detail

      • Point

        public Point​(Coordinate coordinates)

        Creates a new point geometry located at the specified coordinates.The coordinates must be in the same projection as the View.getProjection() and Source.getProjection().

        Parameters:

        coordinates - the coordinates that locate the point

    • Method Detail

      • getCoordinates

        public Coordinate getCoordinates()

        The coordinates where the point is located

        Returns:

        the current coordinates

      • setCoordinates

        public void setCoordinates​(Coordinate coordinates)

        Sets the coordinates that locate the point. The coordinates must be in the same projection as the View.getProjection() and Source.getProjection().

        Parameters:

        coordinates - the new coordinates, not null