I manually collected the rotation values for each country. Then extended each country feature object with rotation property so that it is easily accessible.
Now there is no need for calculating the next rotation and it is possible to rotate the projection even to the countries that are not rendered yet.
I don't know whether there is another solution to this, but for the time being this one works fine.
I manually collected the rotation values for each country. Then extended each country feature object with rotation property so that it is easily accessible.
Now there is no need for calculating the next rotation and it is possible to rotate the projection even to the countries that are not rendered yet.
I don't know whether there is another solution to this, but for the time being this one works fine.