Skip to content

Commit

Permalink
feat: add France's regions to country map visualization (#25676)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmeaux authored Oct 19, 2023
1 parent def7cd1 commit ee23690
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ import el_salvador from './countries/el salvador.geojson';
import estonia from './countries/estonia.geojson';
import ethiopia from './countries/ethiopia.geojson';
import france from './countries/france.geojson';
import france_regions from './countries/france_regions.geojson';
import finland from './countries/finland.geojson';
import germany from './countries/germany.geojson';
import guatemala from './countries/guatemala.geojson';
Expand Down Expand Up @@ -133,6 +134,7 @@ export const countries = {
estonia,
ethiopia,
france,
france_regions,
finland,
germany,
guatemala,
Expand Down Expand Up @@ -210,6 +212,9 @@ export const countryOptions = Object.keys(countries).map(x => {
if (x === 'italy_regions') {
return [x, 'Italy (regions)'];
}
if (x === 'france_regions') {
return [x, 'France (regions)'];
}
return [x, x[0].toUpperCase() + x.slice(1)];
});

Expand Down

Large diffs are not rendered by default.

0 comments on commit ee23690

Please sign in to comment.