Refactor Ddstance calculation #17
Labels
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Reference: thisfro/pflaenz.li-Symfony#17
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The distance is calculated from one PLZ to another and they get converted to coordinates within
src/Service/PlzToCoordinate.php
directly.This should probably be handled within a seperate service.
The result could look something like:
src/Service/PlzToCoordinate.php
: only handles the conversion to a coordinatesrc/Service/CalculateDistance.php
: only handles the actual distance calculationSo #16 can use both independently
This is actually already the case...