Class GeoJsonFeature

    • Constructor Detail

      • GeoJsonFeature

        public GeoJsonFeature()
        Default constructor.
      • GeoJsonFeature

        public GeoJsonFeature​(String id,
                              org.locationtech.jts.geom.Geometry geometry,
                              boolean calculateBounds,
                              Map<String,​Object> properties)
        Constructs a GeoJSON feature with the specified parameters.
        Parameters:
        id - an optional id
        geometry - the geometry of the GeoJson feature
        calculateBounds - if true the bounding box will be calculated otherwise the bounding box will be null
        properties - a map with named objects that are associated with the GeoJSON feature