Aadhavan Srinivasan
|
6ba1189c6c
|
Define color directly in the 'languages' object, instead of separately
|
1 month ago |
Aadhavan Srinivasan
|
d8bdb048c4
|
Added sqlite DB to cache translations; retrieve translations from DB if they're cached, otherwise fetch from API and cache results
|
1 month ago |
Aadhavan Srinivasan
|
a39fcc69a4
|
Added TODO
|
1 month ago |
Aadhavan Srinivasan
|
42e31dab13
|
Use language code instead of language name; removed 'unavail' language; don't add text for districts
|
1 month ago |
Aadhavan Srinivasan
|
da3b3b8a16
|
Added loading indicator when translations are being retrieved
|
1 month ago |
Aadhavan Srinivasan
|
0de268eec5
|
Replace text on map with translation
|
1 month ago |
Aadhavan Srinivasan
|
2b8bed7587
|
Added language codes for all languages; removed 'unavail' langauge (not really a language)
|
1 month ago |
Aadhavan Srinivasan
|
79944180d5
|
Added language codes for each language, add some testing text to determine if I can draw based on lat/long
|
1 month ago |
Aadhavan Srinivasan
|
6cd33ac06d
|
Add noto fonts (unicode glyph support); use HTMX to replace translations on map; pointer-events for languageText to help select a state on the map
|
1 month ago |
Aadhavan Srinivasan
|
e60da27cd5
|
New file - updates translations on map
|
1 month ago |
Aadhavan Srinivasan
|
c57de2492e
|
Added Go translation server - send requests to Google Translate API
|
1 month ago |
Aadhavan Srinivasan
|
5f8264cda8
|
Store language text instead of district text
|
1 month ago |
Aadhavan Srinivasan
|
73149275fd
|
Added a form, added some more styling
|
1 month ago |
Aadhavan Srinivasan
|
c7876fea3f
|
Added Awadhi language boundary
|
1 month ago |
Aadhavan Srinivasan
|
d757454319
|
Added Awadhi language and language color
|
1 month ago |
Aadhavan Srinivasan
|
53f8c63c2d
|
Added Awadhi language
|
1 month ago |
Aadhavan Srinivasan
|
6532036c73
|
Removed turf JS testing file (I have it implemented)
|
1 month ago |
Aadhavan Srinivasan
|
5584374dea
|
Updated JSON with Sindhi and Santali language boundaries
|
1 month ago |
Aadhavan Srinivasan
|
f43460e94b
|
Added Santali and Sindhi languages; removed 'try ... catch' block because the function shouldn't error
|
1 month ago |
Aadhavan Srinivasan
|
ce89a74e70
|
Added a transparent fill, so that the language boundary can be 'hovered' on; added a hover action
|
1 month ago |
Aadhavan Srinivasan
|
f9cc824e3e
|
Updated language borders with Sindhi and Santali
|
1 month ago |
Aadhavan Srinivasan
|
0aa425e6d1
|
Copied generated JSON data into a file, added it into the districts JSON file and saved the result to a new file
|
1 month ago |
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
|
1 month ago |
Aadhavan Srinivasan
|
5fc15a2c5c
|
Increase stroke width for language boundaries
|
1 month ago |
Aadhavan Srinivasan
|
17267b11ac
|
unminified
|
1 month ago |
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
|
1 month ago |
Aadhavan Srinivasan
|
6d0a1a3c7c
|
Started testing some stuff
|
1 month ago |
Aadhavan Srinivasan
|
c4e28998c5
|
Added some CSS for language boundaries
|
1 month ago |
Aadhavan Srinivasan
|
adb216f67f
|
Working on defining a 'language' boundary, separate from state and district boundaries
|
1 month ago |
Aadhavan Srinivasan
|
216e5ca74a
|
Added function to get the outer boundary of the districts, based on language
|
1 month ago |
Aadhavan Srinivasan
|
c98af5a5ae
|
Draw states after districts; add 'fill: none' CSS to states; store a map of color to all features with that color
|
1 month ago |
Aadhavan Srinivasan
|
c2df272fe6
|
Added testing file
|
1 month ago |
Aadhavan Srinivasan
|
824a92029d
|
Renamed colors; added district colors
|
1 month ago |
Aadhavan Srinivasan
|
3aa68451b7
|
Added Turf JS (haven't used it yet)
|
1 month ago |
Aadhavan Srinivasan
|
08f7f764b2
|
Started working on district coloring; assign each state a different color (based on language) rather than using 4-color theorem
|
1 month ago |
Aadhavan Srinivasan
|
8b8340fbce
|
Minor update - change stroke color
|
1 month ago |
Aadhavan Srinivasan
|
f5a562725c
|
Added new JSON - without the state boundaries, just districts
|
1 month ago |
Aadhavan Srinivasan
|
1857dd43fc
|
Use the new districts file; display district name instead of state name
|
1 month ago |
Aadhavan Srinivasan
|
765cfe5cc5
|
Added new geoJSON file with districts (credit to https://github.com/udit-001/india-maps-data)
|
1 month ago |
Aadhavan Srinivasan
|
ff1685bf2c
|
Added more languages
|
1 month ago |
Aadhavan Srinivasan
|
910061fdf9
|
Added supported languages file
|
1 month ago |
Aadhavan Srinivasan
|
0201b17ae5
|
Add the state name as an SVG 'text' element, as a sibling to the 'path'
|
1 month ago |
Aadhavan Srinivasan
|
9cb4385a43
|
Add CSS to display state name on hover
|
1 month ago |
Aadhavan Srinivasan
|
d438a91cdf
|
Fetch SVG size from HTML, instead of re-defining it in JS
|
1 month ago |
Aadhavan Srinivasan
|
ec4f1ddca9
|
Changed size of SVG
|
1 month ago |
Aadhavan Srinivasan
|
611f10559b
|
Moved JS to separate file
|
1 month ago |
Aadhavan Srinivasan
|
11a287e242
|
Styling changes; moved JS to separate file
|
1 month ago |
Aadhavan Srinivasan
|
bc3f69bfa3
|
Added colors to the map (used four-color theorem, but did it manually)
|
1 month ago |
Aadhavan Srinivasan
|
3a104140ab
|
First commit
|
1 month ago |