Skip to content

Releases

1.2

Choose a tag to compare

@willvincent willvincent released this 28 Feb 04:10
57e977e

🐞 Fixed:

  • Return NULL instead of Polygon without coordinates.

    If no coordinates are set, the return should be null instead of a Polygon with no coordinates.

    The reasoning behind this is that you cannot call getCoordinates() on a Geometry with no coordinates,
    but you can call getGeometry() on a Feature with no geometry. This is important as coordinates is a
    private property and we can't otherwise check if a geometry has coordinates or not without json encoding
    looking at the resulting object/array.

1.1

1.1

Choose a tag to compare

@willvincent willvincent released this 26 Feb 08:29
8ebd1a3

Initial release 🎉