Skip to content

Conversation

@vansha
Copy link
Contributor

@vansha vansha commented Dec 24, 2015

So that Github can render regions nicely on a world map.
See https://help.github.com/articles/mapping-geojson-files-on-github/

The result can be seen at https://github.com/vansha/Two10.CountryLookup/blob/f16d074d5524aa8e31dd0e3e1648b50fbbaf416e/Two10.CountryLookup/region-list.geojson

To make this work, countries list should be a valid json file. This explains the hack in parsing part.

@richorama
Copy link
Contributor

Hey, thanks for this.

It's a good idea, but I'd like to think about this one a bit more. I would prefer a neater solution than measuring line length, but I don't know what!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants