Hello,
I am trying to set the tickness of a line dynamically
based on the zoom factor. For example, when the user
zooms in the map, the lines should be drawn ticker,
when zooming out, thinner. I use styledMapPane. Can i
do this in GeoTools? Does anybody have an idea?
thanks & regards
Erdem Gunay
You can use StreamingRenderer to write a MapContext to a graphic of a BufferedImage. From there I suggest using the java ImageIO class to create the image in the format you desire (except gif ). Joel
On 7/28/06, Ian Turton <[EMAIL PROTECTED]> wrote:
client requests.On 7/28/06, Bernd Resch <[EMAIL P
client requests.
On 7/28/06, Bernd Resch <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I've got a very basic question: as I understood, GeoTools aims at
> displaying maps etc. in client-side components such as Applets (using
> the JFrame class). Using GeoTools, is it also possible to build
> web-based
Title: RE: [Geotools-gt2-users] Graph module and .src code
Justin,
I appreciate the quick reply. I'll give that a shot asap. I can't find too much documentation on your module, so maybe you could help with a few other quick questions...or steer me towards some info.
1. When using the Lin
Hi Jeffrey,
You will need to use a LineStringGraphGenerator instead of
BasicLineGraphGenerator. Also, when you call add you will need to pass in
teh geometry of the feature, add( f.getDefaultGeometry() );
I thought there was an implementation which worked directly against
features but I dont seem
Hello all,
I’m about knee deep into developing a program using
the GT2 2.2 library. I’ve parsed my way through a couple of the
examples and gotten enough of the code working to the point that I’m
getting dangerous.
Anyhow, I’m trying to take a set of city roads from a
shapefile and
Hello,
I've got a very basic question: as I understood, GeoTools aims at
displaying maps etc. in client-side components such as Applets (using
the JFrame class). Using GeoTools, is it also possible to build
web-based applications (maps are displayed directly within an HTML page
e.g. using JSP)