On 9/7/06, Martin Schmitz <[EMAIL PROTECTED]> wrote:
> Hello,
>
> first I had the same problem, but then I found out that the raster becomed 
> visible, when I resized the JMapPane (manually by mouse).
> So it must have been an update problem.
>
> I solved the problem by calling JMapPane.setReset(true) before 
> JMapPane.repaint().
> It tells the JMapPane, that something has changed and that the map must be 
> completely updated.
>

could you file a JIRA on this and the other problems so I'll remember
to look into them next time I have some spare time.


>
> BTW:
> Do you also display FeatureCollections in your Map?
> I generate FeatureCollections from ShapeFiles. LineString-FeatureCollections 
> (e.g. steetd) are displayed well with LineSymbolizer, but the 
> PolygonSymbolizer works not with my Polygon-FeatureCollection! Nothing is 
> displayed...
> In the old StyledMapPane of GT-2.1.M3 the Polygon-ShapeFile was displayed 
> without any problems.
>

Again if you can generate a jira with a small shapefile which shows
this behaviour I'll look into it, but the demo/test code uses a
polygon shapefile and works fine.

Ian
-- 

Ian Turton
http://www.geotools.org
http://pennspace.blogspot.com/

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to