From: Martin Desruisseaux <martin.desruisseaux@no...> - 2004-11-27 09:58:44
Xavier M=E9haut a =E9crit :
> I've a question about the zoom feature. imagine I use the spearfish=20
> example, and I want ot zoom the map. With the current example, the=20
> roads,..., are not zoomed (the graphics remain of the same size)... I=20
> would like to have a style for the roads for instance which become=20
> bigger when I zoom , ie which be of quite realistic view. If the road=20
> makes 50meters wide, I would like to see so if my zoom factor is adequa=
> Is it possible?
I don't know which renderer the spearfish example use. But with the J2D=20
renderer, yes this is possible. You may try to invokes the following=20
methods on the one RenderedGeometries layer used for roads:
Invoking 'setPrefferedPixelSize(...)' for this task is definitively=20
weird. I will try to provide a more elegant solution when I will be back=20
to work on the renderer side (after CRS, GridCoverage, etc.).
Get latest updates about Open Source Projects, Conferences and News.