|
From: John M. <joh...@so...> - 2004-10-05 17:01:37
|
OK, I see how the TextSymbolizer fits in now. This still doesn't answer the question of when it's needed. I'm trying to avoid an "if ( dataStore instanceof VPFDataStore )..." code block. It's looking like that's unaviodable without pushing all the work of determining how to render things to a user. > > I've taken a look at the examples and have seen the > TextSymbolizer, but > > this appears to draw the text in addition to the geometry > feature that's > > drawn. For VPF the text should be drawn instead of the geometry. > > The examples use a TextSymbolizer AND a LineSymbolizer which is why > both show up, if just a TextSymbolizer is used then only the text will > be displayed. > |