Class GeoPoint.Builder

  • Enclosing class:
    GeoPoint

    public static final class GeoPoint.Builder
    extends GeoObject.GeoBuilder<GeoPoint>
    Builder class used to create GeoPoint instances. Since Builder constructor is private the only was to obtain a Builder instance is by calling GeoPoint.builder().
    • Method Detail

      • position

        public GeoPoint.Builder position​(Position position)
        Sets GeoJSON position. Returns this Builder instance so that builder method calls can be chained.
        Parameters:
        position - single position.
        Returns:
        this Builder instance.
        Throws:
        java.lang.NullPointerException - if position is null.