I discovered that one must set annotationType before annotationColor, as setting the color generates the image.
It seems unusual for a setter to have such side-effects. One should be able to set either in either order. Would it be possible to either regenerate the image on each setter or delay generating the image until it is actually need. This way the setters could be called in either order.
At the very least, please update the documentation to say that one must set type type first.
I discovered that one must set annotationType before annotationColor, as setting the color generates the image.
It seems unusual for a setter to have such side-effects. One should be able to set either in either order. Would it be possible to either regenerate the image on each setter or delay generating the image until it is actually need. This way the setters could be called in either order.
At the very least, please update the documentation to say that one must set type type first.