Skip to content

UI changes, Location access, Country Data

Bruno requested to merge pull/58/location into master

Created by: heychirag

Hi @Ceilican

In this PR, I have attempted to accommodate all your suggestions.

Other features implemented:

  1. Added location access
  2. Moved all fuel types to a JSON for easy cross browser support
  3. Added Countries Data with iso2 country codes
  4. green-electricity for renewable resources
  5. started working on Google Code Style

screen shot 2016-06-14 at 1 17 49 am

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:

  1. Google Maps provides time(ETA) instead for route distance in case of Public Transport.
  2. Public transport sometimes offers route that requires travelling partly by Bus and partly by metro(rapid transit).
  3. 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.

Merge request reports