#  19th December 2024 - Implemented Map Pin view
## [Build #46](https://github.com/nbarrett/ngx-ramblers/actions/runs/12419024336/job/34673451053)
- Amend walk start location using map pin
- First leaflet commit which includes ngx-leaflet dependency
- New functionality allows start point to be edited by dragging pin on map
- Lat/Long, grid reference, postcode and location updated and saved on walk
- Walk Edit Maps view can be toggled between Pin Location View and Google Maps
- Walk View can be toggled between Pin Location View and Google Maps
- Walk start/end location now standardised to fall in line with Ramblers data structure
- Data migration performed automatically on detection of walks that are in the old format
- Also Angular was upgraded to version 18
### Walk View
- Default view for walk view is now Pin Location View, not Google Maps as previously.  When walk is linear, view can be switched from start to finish point using the radio buttons:

![](https://ngx-ramblers.org.uk/api/aws/s3/site-content/f0752ad1-abe3-492e-a46b-928dc6e5c395.jpg)

![](https://ngx-ramblers.org.uk/api/aws/s3/site-content/f16507fb-23f8-4846-84d0-04f3bd1e63c5.jpg)

### Walk Edit (only applies to sites configured with local Walk Population)
- Walk Details tab now has a Pin Location editor. After initially inputting the post code, the map is drawn with a pin on it, which you can drag to the exact position of the walk start or finish (if the walk is linear). The exact lat/long position is then updated along with any updates to the postcode and grid ref. 
- See below for screenshots of the Walk Details tab with Circular or Linear Walk Type:

![](https://ngx-ramblers.org.uk/api/aws/s3/site-content/f447efac-7eff-4af0-ab10-0ef355b2c397.jpg)

![](https://ngx-ramblers.org.uk/api/aws/s3/site-content/eb8b58f1-80ab-4c89-8e15-ef188a6c7cc5.jpg)