Commit Graph

37 Commits

Author SHA1 Message Date
4e4570ed03 Font resizing stuff; looks better on desktop and mobile now 2025-04-16 16:03:38 -05:00
d769797136 Added horizontal alignment for each language text; moved Hindi text down 2025-04-15 15:38:59 -05:00
4804497b3c Updated positioning of text 2025-04-15 09:49:16 -05:00
2e85a7c2b3 Added comments; remove SVG 'g' elements with no children 2025-04-12 13:04:10 -04:00
4658ec5a9d Draw translation text above map, so that it isn't obscured 2025-04-12 12:37:12 -04:00
6aedbbc942 Styling changes mostly done 2025-04-12 11:55:40 -04:00
977cd1aa62 Add parentheses around arithmetic operation 2025-04-11 10:17:56 -04:00
81fe778212 Works even better now 2025-04-11 10:12:57 -04:00
bf8825294b Mostly working 2025-04-10 11:37:55 -04:00
6e9e11c41c Made some progress 2025-04-09 10:34:52 -04:00
66d88c133b Started working on resizing SVG 2025-04-08 23:53:13 -04:00
49b4820c2d Removed Santali language (since it doesnt' have transliteration support) 2025-04-06 12:01:04 -04:00
3d06971e77 Remove testing code; use minified map JSON; hide spinner after map has loaded 2025-03-28 14:41:51 -05:00
56cae83339 Move Tulu language name a little 2025-03-18 15:57:56 -04:00
cf5b2e40a0 Adjusted positioning of some language translations; added new text element for the language name 2025-03-18 15:34:25 -04:00
d8c2b22a46 Changed Rajasthan's language from Marwari to Hindi 2025-03-08 12:30:47 -05:00
7110b0e0e3 Set romanization text relative to translation text; Fill languages instead of the individual districts 2025-03-07 15:46:14 -05:00
0f92b11009 Add more text below the translation, in brackets - will be used for romanization 2025-03-05 14:44:58 -05:00
7112874a06 General refactoring 2025-03-03 16:52:32 -05:00
6ba1189c6c Define color directly in the 'languages' object, instead of separately 2025-03-03 16:39:41 -05:00
42e31dab13 Use language code instead of language name; removed 'unavail' language; don't add text for districts 2025-03-02 22:05:35 -05:00
79944180d5 Added language codes for each language, add some testing text to determine if I can draw based on lat/long 2025-03-02 20:08:13 -05:00
5f8264cda8 Store language text instead of district text 2025-02-27 17:45:53 -05:00
d757454319 Added Awadhi language and language color 2025-02-27 11:12:18 -05:00
f43460e94b Added Santali and Sindhi languages; removed 'try ... catch' block because the function shouldn't error 2025-02-27 09:36:28 -05:00
625b1d1377 Since language boundaries are now loaded from json, I can detect them and apply the right CSS class; removed JSON generation code 2025-02-27 06:48:07 -05:00
4789ce8ac4 Finally finished adding language boundaries - next step: export them to a file so that they don't have to be recomputed each time 2025-02-26 22:39:19 -05:00
6d0a1a3c7c Started testing some stuff 2025-02-26 18:29:18 -05:00
adb216f67f Working on defining a 'language' boundary, separate from state and district boundaries 2025-02-26 16:31:18 -05:00
216e5ca74a Added function to get the outer boundary of the districts, based on language 2025-02-26 14:51:40 -05:00
c98af5a5ae Draw states after districts; add 'fill: none' CSS to states; store a map of color to all features with that color 2025-02-26 12:09:49 -05:00
824a92029d Renamed colors; added district colors 2025-02-26 10:59:45 -05:00
08f7f764b2 Started working on district coloring; assign each state a different color (based on language) rather than using 4-color theorem 2025-02-26 06:42:27 -05:00
1857dd43fc Use the new districts file; display district name instead of state name 2025-02-25 22:28:58 -05:00
0201b17ae5 Add the state name as an SVG 'text' element, as a sibling to the 'path' 2025-02-25 16:58:30 -05:00
d438a91cdf Fetch SVG size from HTML, instead of re-defining it in JS 2025-02-24 20:55:09 -05:00
611f10559b Moved JS to separate file 2025-02-24 20:45:06 -05:00