styling added to map and getDistance function fixed