Commit Graph

25 Commits (3d0c20ae4883d1505154feef043ee1a5bd02f925)

Author SHA1 Message Date
Aadhavan Srinivasan 3d06971e77 Remove testing code; use minified map JSON; hide spinner after map has loaded
Aadhavan Srinivasan 56cae83339 Move Tulu language name a little
Aadhavan Srinivasan cf5b2e40a0 Adjusted positioning of some language translations; added new text element for the language name
Aadhavan Srinivasan d8c2b22a46 Changed Rajasthan's language from Marwari to Hindi
Aadhavan Srinivasan 7110b0e0e3 Set romanization text relative to translation text; Fill languages instead of the individual districts
Aadhavan Srinivasan 0f92b11009 Add more text below the translation, in brackets - will be used for romanization
Aadhavan Srinivasan 7112874a06 General refactoring
Aadhavan Srinivasan 6ba1189c6c Define color directly in the 'languages' object, instead of separately
Aadhavan Srinivasan 42e31dab13 Use language code instead of language name; removed 'unavail' language; don't add text for districts
Aadhavan Srinivasan 79944180d5 Added language codes for each language, add some testing text to determine if I can draw based on lat/long
Aadhavan Srinivasan 5f8264cda8 Store language text instead of district text
Aadhavan Srinivasan d757454319 Added Awadhi language and language color
Aadhavan Srinivasan f43460e94b Added Santali and Sindhi languages; removed 'try ... catch' block because the function shouldn't error
Aadhavan Srinivasan 625b1d1377 Since language boundaries are now loaded from json, I can detect them and apply the right CSS class; removed JSON generation code
Aadhavan Srinivasan 4789ce8ac4 Finally finished adding language boundaries - next step: export them to a file so that they don't have to be recomputed each time
Aadhavan Srinivasan 6d0a1a3c7c Started testing some stuff
Aadhavan Srinivasan adb216f67f Working on defining a 'language' boundary, separate from state and district boundaries
Aadhavan Srinivasan 216e5ca74a Added function to get the outer boundary of the districts, based on language
Aadhavan Srinivasan c98af5a5ae Draw states after districts; add 'fill: none' CSS to states; store a map of color to all features with that color
Aadhavan Srinivasan 824a92029d Renamed colors; added district colors
Aadhavan Srinivasan 08f7f764b2 Started working on district coloring; assign each state a different color (based on language) rather than using 4-color theorem
Aadhavan Srinivasan 1857dd43fc Use the new districts file; display district name instead of state name
Aadhavan Srinivasan 0201b17ae5 Add the state name as an SVG 'text' element, as a sibling to the 'path'
Aadhavan Srinivasan d438a91cdf Fetch SVG size from HTML, instead of re-defining it in JS
Aadhavan Srinivasan 611f10559b Moved JS to separate file