Adds type to geolocation button alert

- Adds error type to geolocation button alert.