UI changes, Location access, Country Data
Created by: heychirag
Hi @Ceilican
In this PR, I have attempted to accommodate all your suggestions.
Other features implemented:
- Added location access
- Moved all fuel types to a JSON for easy cross browser support
- Added Countries Data with iso2 country codes
- green-electricity for renewable resources
- started working on Google Code Style
I haven't yet received a reply from neven.valev@globalpetrolprices.com. What should we do?
==>I would also like to hear your opinion about challenges I'm facing for calculating CO2 emissions and cost for public transport.
For prices:
- Google Maps provides time(ETA) instead for route distance in case of Public Transport.
- Public transport sometimes offers route that requires travelling partly by Bus and partly by metro(rapid transit).
- All map services do not provide route by Public Transport
For CO2 Emission:
Since such data for individual cities is not available. I was thinking of taking CO2 emission per person for all the cities as a constant. To support this, I would like to say that demand for public transport in a city would be proportional to its population. Hence, CO2 emission per person can be treated as constant.