Skip to content

Version 2.0.0 - Geometry-based Street Detection

Choose a tag to compare

@bobdodd bobdodd released this 14 Jul 20:39
· 17 commits to main since this release

Major Improvements

🗺️ Geometry-based Detection

  • Added GeometryParser.js to parse SVG paths, polygons, and polylines
  • Added GeometryCalculator.js for accurate point-to-geometry distance calculations
  • Streets and buildings now use proper geometric distance instead of point-based approximations

📍 Fixed Intersection Detection

  • Direct SVG element inspection for finding nearby roads
  • Correctly identifies intersections like "Yonge and Front"
  • North-south streets prioritized in intersection naming
  • Increased detection range to 10m for wide streets

🎯 Coordinate Alignment

  • Fixed pin positioning with proper tile offset alignment
  • Fixed zoom functionality to center on pin location
  • Improved pin dragging to follow mouse accurately

🚶 Better Path Filtering

  • Separated vehicle roads from pedestrian paths
  • Footpaths excluded from intersection announcements
  • Cleaner, more relevant location descriptions

🔧 Technical Fixes

  • Removed building address fallback for street names
  • Fixed map going black on zoom
  • Cleaned up debug output for better readability