8 ms·
I'm using the google geolocation API https://developers.google.com/maps/documentation/geolocation/intro https://developers.google.com/maps/documentation/geoloca
by kmano8 7y ago
I'm using the google geolocation API https://developers.google.com/maps/documentation/geolocation/intro https://developers.google.com/maps/documentation/geolocation... at https://github.com/ksho/whenisgoldenhour.com/blob/master/pages/index.tsx#L11 https://github.com/ksho/whenisgoldenhour.com/blob/master/pag...
I've gone back and forth on replacing this with a browser-based location request so the user is aware what's going on -- the tradeoff being the friction of clicking the allow button.