As for the tooltip position, I understood your original design so that the tooltip box would always be on the stage. Your solution works well for those states that are close to the edge. The other states that are in the middle could use an offset. Again, how about have a flag in the XML file that would either use the XY coordinates as you currently have them or override to use another type of offset based on the flag.
For example, at the top of the XML file where you have:
provinceTextSelectedColor = “1C3753” wMethod = “_blank”
Add something like xTooltip = “X” where X is the a number, positive or negative, for the X offset. Add something like yTooltip = “Y” where Y is the a number, positive or negative, for the Y offset.
Then for each state, have an additional flag like “xyTooltip” where zero is the default and a one is to override using the defined xTooltip and yTooltip settings.
Thank-you for your consideration,
Jack
Posted 3 months ago



: Each state can now be enabled/disabled through the XML file, just switch states “ON” or “OFF”. In addition, you can also change the color of disabled states in the XML file.































