Development ha scritto:
> Hi all,
> 
> I implemented loading a bunch of shapefiles from a xml file and than i 
> added them as layers.
> The problem i have is that for me JMapFrame seems to be verys slow (by 
> Resizing the Frame) , although the shapefiles a add (12) are very 
> "small" and low detailed.
> 
> I just extended the examples code ! So what do you think is it my fault? 
> Should i implement the application in an other way? Hopefully its my 
> fault because i want to extend the implementation with animations!!
> And one other Question then i am loading all shapefiles the screensize 
> is "false" so what do i have to do that the screensize aufter loading is 
> the size of the "biggest" shapefile i loaded?

Try using ShapefileRenderer instead and/or using
IndexedShapefileDataStore

Cheers
Andrea


-- 
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to