Location Detection and Map Improvements

Refined position of map overlay and reworked location detection to be
more generous to the end-user and to make the code more flexible.