Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make region-list geoJSON format compatible #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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