Hi,
I’m the new guy in development using uDig so please, correct me if you see insufficiencies in my understanding.
Currently I see the following workflow:
1). Render starts.
2). Style is set for current rendering process.
3). Some DataSource is loaded to uDig.
4). Rendering process.
5). Render ends.
And the question is the following: is there any possibility to change the style on-fly to apply it to the current rendering process?
For example if there is some specific conditions in data that forces the style change.
So I need an update style command between sections 3 and 4 to force the rendering process to use the new style.
Accessing style via Blackboard causes the future renderings to use the proper style but the current render process still uses the old one.
Refreshing the whole layer seems to be the bad idea, because is too time expensive.
P.S. The main idea of style change is to change the drawing order of the features, if that can be useful.
Regards,
Alex Stybaev
Luxoft Automotive