Hi,
I need to change the color of the selected data.
Can anyone help me to find in which class or which method that changes colors and give the selected data a specefic or random color different from the old one.
thanks in advance.
Do you want to "show" selected features, and give them back the original color if
the selection change or do you want to apply the new color _permanently _?

In the first case, you just have to "select" features so that they appear with the thick yellow* border line. Use the SelectionManager and FeatureSelection classes
*Can be change from the options

In the second case, you'll have to use an attribute to store the
color information (which means you have to modify or prepare the
schema for that)
You can either put semantic information in the attribute then apply
a ColorThemingStyle (which may be a bit tricky)
or, more simple, add a "R_G_B" attribute and store colors as
RRVVBB hexadecimal values.

Michaël



--
*Asma OUQALLI*

Élève ingénieur : 3ème  Sciences d'Information Géographique (SIG).
Chef de commission développement professionnel  - Rotaract EHTP.
Chef de cellule Media - Olympiades EHTP 2012.
  Ecole Hassania des Travaux Publics.
   Mobile : +212 672 48 23 15.
   Email : asma.ouqa...@gmail.com <mailto:asma.ouqa...@gmail.com>



------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev


_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to