Go to your iPhone’s Settings > Settings for Websites > Location and make sure you’ve allowed it to access your location “While Using the App”.