Class GeoObject.GeoBuilder<F extends GeoObject>

    • Constructor Detail

      • GeoBuilder

        protected GeoBuilder​(java.lang.Class<F> clazz,
                             GeoObject.GeoType type)
        Constructor used to set the GeoJSON class and type.
        Parameters:
        clazz - target GeoJSON object class.
        type - target GeoJSON object type.
    • Method Detail

      • type

        public final EField.Builder type​(GeoObject.GeoType type)
        Does nothing since GeoJSON type is set in the constructor. This method is required for eBus message de-serialization.
        Parameters:
        type - GeoJSON data type.
        Returns:
        this Builder instance.
      • boundingBox

        public final EField.Builder boundingBox​(BoundingBox bbox)
        Sets optional bounding box.
        Parameters:
        bbox - bounding box. May be null.
        Returns:
        this Builder instance.