Stefan Steiniger wrote:

Hi,

> I just discovered, that if I turn on the display of vertices for a line 
> layer, then the lines are not displayed anymore and only the vertices.
> Did somebody accidently changed that? or was that a feature of deeStyling?
> 
> I would rathe have the option to see both: lines + vertices at the same time

The problem lies in the implementation of vertex styling. Before the deeStyling
changes, the BasicStyle was responsible for styling the vertices, fills and
lines. The more fancy vertex stylings are implemented as specializations of
vertex styles. To prevent the basic style from being painted when a fancy vertex
style is enabled, I had to disable the basic style. The side effect that you
just discovered is that the line part of the basic style is of course also not
rendered.

I'm not sure what a good solution would be. I've fought pretty hard with the
current styling model, and I must confess I don't like it too much ;-) But as it
goes, never change a running system...

Maybe one of these days we could implement a new styling model that's a little
cleaner (and also perhaps a little more capable). Currently we have one of each
of basic, vertex and color theming style per layer. IMHO it would be better to
have one of each of vertex, line, fill and color theming style per layer, or
even better, as many as one likes of vertex, line and fill per layer (with each
one having filter capabilities). Just some thoughts.

But back to your problem. To fix it, one could change the basic style to stop
rendering vertices when a vertex style is enabled, but to continue rendering the
rest. When I find the time, I'll get around to it (reworking the styling model
requires funding ;-)).

Best regards, Andreas
-- 
l a t / l o n  GmbH
Aennchenstrasse 19           53177 Bonn, Germany
phone ++49 +228 18496-12     fax ++49 +228 1849629
http://www.lat-lon.de        http://www.deegree.org

-------------------------------------------------------
On June 17 is deegree day - Am 17. Juni ist deegree day
              http://deegree.org/deegreeday

Attachment: signature.asc
Description: Digital signature

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to