Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-users] feature color

On Monday, October 17, 2011 02:48:21 PM Alberto Debiasi wrote:
> Hello everybody,
> I have a question:
> 
> In udig it's possible to modify the "style" of a resource (select resource
> ->left mouse button -> modify style). In this way it's possible to define
> a color for each feature based from a particolar attribute.
> 
> My question is: in which way I can retrieve the color of each resource?
You can apply a color to a layer.  Have a look at Workthrough 1 document
http://udig.refractions.net/confluence/display/EN/Walkthrough+1

> 
> It doesn't exist for example the method:
> 
> feature.getColor ????
The color is part of GUI behavior (view), and the feature is part of the gis 
model. So, the feature does not support that getter method.

> 
> Alberto
> ___________

cheers
-- 
Mauricio Pazos




Back to the top