Basically, I am trying to make a bot into an application called Discord, and I have a problem:
This is a bot related to war strategy games, like Hearts of Iron and Civilization.
You have a “roll” command using which you can attack a place, and depending on if you win, the place will be under your control.
Now the problem here is, that these “places” happen to be states and provinces; all of them.
I have a SVG picture with all of this data, it is 4.8mb, and has, if I remember right, around 17-18k lines of code (as XML).
Is there any way, that I could be able to use the XML picture and its paths etc with JS?
Should I do it with e.g. Canvas or something else?
The map would be shown using the “map” command
If you don’t know what Discord is: https://discord.gg