The map's autocomplete initialization has been refactored to distinguish properly between pickup and arrival events. This commit fixes issue #107 by ensuring that route calculation is automatically triggered as soon as both a pickup and an arrival location are added to the table. Additionally, location caching logic and codebase documentation were polished. These changes lead to a much smoother user experience when generating routes on the interactive map.