[geotk] MARK_SQUARE where has it moved ?

sorel johann johann.sorel at geomatys.fr
Tue Mar 13 15:01:18 EDT 2012


  Hello trond,

No changes on the style module in the last months.

MARK_SQUARE is still there :
http://hg.geotoolkit.org/geotoolkit-pending/file/tip/modules/display/geotk-style/src/main/java/org/geotoolkit/style/StyleConstants.java

johann

Le 13/03/2012 18:21, Westgård Trond a écrit :
>
> I have a program that makes a simple maplayer in the mapcontext and 
> the geotoolkit swing renderer.
>
> I have used a constant that obviously was defined in an earlier 
> version of geotoolkit-pending-snapshot which I use in the maven-build 
> file.
>
> Now the statement:
>
>         final MutableStyle style = 
> CartographicUtils.markSymbol(Color.RED, Color.RED, 5, MARK_SQUARE);
>
> say that it does not find the MARK_SQAURE constant any more -- I have 
> not changed my import statements !!
>
> Here are my import statements:
>
> import java.awt.Color;
>
> import org.geotoolkit.data.FeatureCollection;
>
> import org.geotoolkit.factory.FactoryFinder;
>
> import org.geotoolkit.factory.Hints;
>
> import org.geotoolkit.map.FeatureMapLayer;
>
> import org.geotoolkit.map.MapBuilder;
>
> import org.geotoolkit.map.MapLayer;
>
> import org.geotoolkit.style.MutableStyle;
>
> import org.geotoolkit.style.MutableStyleFactory;
>
> import static org.geotoolkit.style.StyleConstants.*; // I tried this 
> and several others also
>
> Do you have any hints for me ?
>
> Best Regards
>
> Trond Westgård
>
> Senior Engineer
>
> Institute of Marine Research
>
> Bergen, Norway
>
> trondwe at imr.no
>
>
> _______________________________________________
> Geotoolkit mailing list
> Geotoolkit at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geotoolkit

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geotoolkit/attachments/20120313/19e415d5/attachment.html


More information about the Geotoolkit mailing list