jonathadv/fuel-cost-splitter

Render Map based on user's position

Closed this issue · 1 comments

Currently the initial state for he map is hard-coded to Porto Alegre - RS.
The idea would be render the first map state based on users location.

Added in #8
This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.
Source: https://developer.mozilla.org/en-US/docs/Web/API/Geolocation/Using_geolocation