Dear all, I tried the example below: http://svn.osgeo.org/geotools/trunk/demo/example/src/main/java/org/geotools/demo/SelectionLab.java
and rewrote it to load shapefiles from an URL on the web (thanks to Ian Turton). What I get is what I want except the map is flashing when the JMapPane is repainted. The flashing is taking longer for the maps that get their data from the web, compared to loading the data from the local harddisk, so it seems that it is not only a problem of the repaint() method but of the remote location of the files. How could I circumvent this flashing? Maybe by having a background map that is not repainted - just the "selection layer"? Or is it possible to use the DoubleBuffer mechanism in this case to avoid the flashing? Regards and thanks for all the help Jan -- GMX DSL Doppel-Flat ab 19,99 Euro/mtl.! Jetzt mit gratis Handy-Flat! http://portal.gmx.net/de/go/dsl ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
