From: Martin D. <mar...@te...> - 2004-05-04 09:59:42
|
Keerat a =E9crit : > I'm still experimenting a lot, but at present, I just extended=20 > RenderedLayer and then added it to an existing StyledMapPane. When I=20 > render the map pane, the implemented paint method that gets the=20 > RenderingContext kicks in all I do is get a MathTransform and use it to= =20 > convert my coordinates to something renderable on the Graphics2D=20 > context. Looking at the tutorials, it probably isn't the cleanest way t= o=20 > go about things, but it does seem to work consistently. This is correct: this is exactly the way to uses RenderedLayer on the=20 low-level side. The tutorial try to take a higher level approach (usage=20 of Style and Feature), but this is not mandatory. Martin. |