PHPGeo v2.2.0 Release Notes

Release Date: 2019-11-25 // over 4 years ago
  • ➕ Added

    • 0️⃣ hasSameLocation() checks if two points share the same location (optionally within a distance which defaults to 0.001 m = 1 mm)
    • addUniquePoint adds unique points to a polyline (i.e., points that doesn't already exist in that polyline)
    • getAveragePoint() returns the average value of latitude and longitude values for a polyline

    🛠 Fixed

    • wrongly placed parenthesis in Polygon::contains()