Files
pakketpunten/webapp/components
robbertjanssen85andClaude Opus 4.7 9894691228 Add "Gebruik mijn locatie" button to nearest-points widget
Uses navigator.geolocation (browser/Wi-Fi positioning) after the user
grants permission, then reverse-geocodes the coordinates via PDOK to
resolve the municipality so the existing dataset-switch flow works.

- New reverse mode on /api/geocode (lat+lon → address + gemeente)
- Distinct error messages for PERMISSION_DENIED, POSITION_UNAVAILABLE,
  TIMEOUT, and unsupported browsers
- Skips dataset reload when the resolved municipality is already loaded

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-20 08:08:59 +02:00
..